Skip to content

Reproducibility info is lossy due to space joining #51

@phiresky

Description

@phiresky

Came across this issue when trying to rerun an older command:

for a cmdline like python plot.py --title "Foo Bar" ... the output is python plot.py --title Foo Bar

which is not distinguishable from having separate arguments. In the above cmdline it's easy to see but in my case the command_lines are longer and I might want to parse the cmdline programmatically after the fact

The related line is in:

'command_line': f'python {" ".join(sys.argv)}',

I'd propose to just directly output sys.argv as an arry instead of joining it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions