Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long path not possible until this fix is added. #13

Open
targor opened this issue Jan 12, 2019 · 0 comments
Open

Long path not possible until this fix is added. #13

targor opened this issue Jan 12, 2019 · 0 comments

Comments

@targor
Copy link

targor commented Jan 12, 2019

When providing an output path without quotes, the program does not recognize the argument. When quotes are provided when the output file is saved in the wrong directory, because the quotes are interpreted as part of the path.

I am not a python expert but this way it works just fine

Add this code to the main function ( def main(args=None): ) to line 883:

output_pattern =output_pattern.strip('\"\'')
inputs_outputs = zip(*get_inputs_outputs(args.input, output_pattern))

This will let the script work with long paths quoted.

After that the script can be called with quotes without problems e.g. :
python3 color_trace_multi.py -i "path1" -o "path2" -q as -c 32 -s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant