Skip to content
New issue

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

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

Already on GitHub? # to your account

[CWL] Argparse argument groups can be represented with a CWL custom record type #47

Open
mr-c opened this issue Apr 16, 2017 · 0 comments
Labels

Comments

@mr-c
Copy link
Collaborator

mr-c commented Apr 16, 2017

From https://github.com/erasche/argparse2tool/blob/master/README.rst#limitations

Argument groups don't work in CWL as arguments are sorted with a special algorithm

According to https://docs.python.org/2/library/argparse.html#argument-groups argument groups are just presentational, they don't themselves dictate any particular sort order.

One could mimic the grouping by creating a http://www.commonwl.org/v1.0/CommandLineTool.html#CommandInputRecordSchema mapping the argparse title to the CWL label field (and eventually the argparse description to the CWL doc field)

@mr-c mr-c added the CWL label Apr 16, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant