On Fri, Mar 15, 2013 at 9:58 AM, Peter Cock <p.j.a.cock@googlemail.com> wrote:
On Fri, Mar 15, 2013 at 2:51 PM, John Chilton <chilton@msi.umn.edu> wrote:
Hey Peter,
I wonder if it is better to ask the user what type they would like to select and then have the input param inside the conditional.
That is doable now, but I'm not sure it is optimal for usability.
My concern about you approach is who it would interplay with workflows. Say you build a workflow that processes XML files with one input, say an XML file. If that input param had let you select multiple formats (format="tabular,xml"), then I believe the workflow input will as well even though the options as well, even though the workflow would not be valid for the other types.
-John
Good point... I'm not sure what the workflow would currently allow here - just XML, or both tabular and XML.
I guess a side effect of my format specific options would be that a workflow using such a tool should be locked to just the one format.
Excellent point, I tend to be a pessimist about this sort of thing but you are indeed right and that would be a good solution. -John
Is that such a bad thing?
Peter