-
Notifications
You must be signed in to change notification settings - Fork 213
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
Implement a kwargs converter to take a list and create multiple "-Bla" entries #21
Comments
Two possible ways to fix this issue:
Which one do you prefer? |
It would fit better in For arguments like |
Fixes #21 Implemented in build_arg_string instead of kwargs_to_strings because we can't have multiple entries in a dictionary with the same key.
Some arguments are meant to be passed twice, for example
-I1/1p,blue -I2/0.25p,blue
. This can't happen in Python. The way to fix this is to add a converter tokwargs_to_strings
ingmt/utils.py
that takes a list (I=['1/1p,blue', '2/0.25p,blue']
) and creates multiple entries in the argument list.The text was updated successfully, but these errors were encountered: