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

No output with --generate_cwl_tool when ArgumentParser is instantiated with prog keyword #57

Open
ksebby opened this issue Apr 18, 2018 · 3 comments

Comments

@ksebby
Copy link

ksebby commented Apr 18, 2018

The tool does not provide any output if the parser is instantiated with the prog keyword. e.g. for foo.py that contains parser = argparse.ArgumentParser(description='A description', prog='some prog name') and running python foo.py --generate_cwl_tool > foo.cwl foo.cwl will be empty. If prog='some prog name' is removed, everything works fine.

@hexylena
Copy link
Owner

ping @anton-khodak @mr-c ?

@anton-khodak
Copy link
Collaborator

Thanks for reporting, @ksebby, I am looking into it.

@ksebby
Copy link
Author

ksebby commented Apr 23, 2018

Thanks @anton-khodak . At least wanted to get it into the issues in case anyone else ran into it.

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

No branches or pull requests

3 participants