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

don't overwrite on default #10

Closed mr-c closed 8 years ago

mr-c commented 8 years ago

I just lost un-checked in code due to that :-

anton-khodak commented 8 years ago

Can you please provide a short example?

mr-c commented 8 years ago

Program was in cwl-upgrader/main.py, CWL description was in cwl-upgrader/main.cwl.

I invoked cwl2argparse -d cwl-upgrader cwl-upgrader/main.cwl and lost the contents of cwl-upgrader/main.py

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

Can you please provide a short example?

— 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/10#issuecomment-238597410, or mute the thread https://github.com/notifications/unsubscribe-auth/ABROCFAGJplHuJEfVpR-oehQbY7I_8prks5qeKG6gaJpZM4JgLMx .

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

anton-khodak commented 8 years ago

Ouch! Will keep this case in mind

mr-c commented 8 years ago

Thanks!

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

Closed #10 https://github.com/common-workflow-language/cwl2argparse/issues/10 via a318043 https://github.com/common-workflow-language/cwl2argparse/commit/a318043ff94428104c79ba1347d9c9959ecf2c6b .

— 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/10#event-750207919, or mute the thread https://github.com/notifications/unsubscribe-auth/ABROCOawnL0Dyvuz6rOonnqIE772j7cIks5qeL0RgaJpZM4JgLMx .

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