common-workflow-language / cwl2argparse

cwl2argparse generates an argparse definition from CWL tool arguments that can be pasted in a Python program and used
Apache License 2.0
9 stars 4 forks source link

Use doc value as top level description #7

Closed mr-c closed 8 years ago

anton-khodak commented 8 years ago

cwl2argparse already uses description attribute of a CWL tool to form parser's description, is there something I am missing?

mr-c commented 8 years ago

I fed it a v1.0 document and it didn't work. In v1.0 the field description was renamed to doc. Feel free to target just v1.0 in your work without retaining draft-3 compatibility.

anton-khodak commented 8 years ago

It would be great to mention it explicitly in the "changes since draft-3" section: http://www.commonwl.org/v1.0/CommandLineTool.html#Introduction_to_v1.0, that's what I was referencing to while updating code to v1.0.

mr-c commented 8 years ago

Good catch! Can you file an issue?

On Tue, Aug 9, 2016 at 7:23 PM, Anton Khodak notifications@github.com wrote:

It would be great to mention it in the "changes since draft-3" section: http://www.commonwl.org/v1.0/CommandLineTool.html#Introduction_to_v1.0, that's what I was referencing to while updating code to v1.0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/common-workflow-language/cwl2argparse/issues/7#issuecomment-238607701, or mute the thread https://github.com/notifications/unsubscribe-auth/ABROCJ01Amp9GlHi6eHBOMZXtppOGboQks5qeKl_gaJpZM4JgKoO .

Michael R. Crusoe Community Engineer & Co-founder Common Workflow Language project https://impactstory.org/u/0000-0002-2961-9670 michael.crusoe@gmail.com +40 720 781 765 +1 480 627 9108