hexylena / galaxyxml

XML Generation libraries for Galaxy Tool/ToolDeps XML
Apache License 2.0
6 stars 5 forks source link

make argument attribute optional (true by default) in <param> from <inputs> during export #14

Open khillion opened 7 years ago

khillion commented 7 years ago

Hi,

I realized that if we do not precise that positional = True, the argument attribute is automatically added to any <param>.

What do you think if we remove this behaviour and just let the author decide the presence of this attribute like any other optional one?

Thanks.

hexylena commented 7 years ago

My thoughts:

Let me phrase it this way, if you wish to add an option to gxt.Tool or tool.export() that enables / disables the argument, I think that would be fine, but I would prefer to use the IUC best practices as a default state.

khillion commented 7 years ago

Thanks, I get it now! I think using the IUC best practices is the way to go so let's add an option to either gxt.Tool or tool.export().