Feature #10830
open
[Workbench] Support array type input parameters to Workflows
Added by Peter Amstutz about 8 years ago.
Updated over 3 years ago.
Description
Users cannot edit array type input parameters in Workbench:
Unable to render editing control for parameter type {:items=>"File", :type=>"array"}
Workbench needs an editing control that supports editing array inputs.
Files
- Description updated (diff)
During yesterday's grooming meeting, we agreed that we will support arrays containing single item types or other arrays (which in turn will contain single item types) to start with.
- Support arrays with single item types such as string, int, array etc
- Support item types boolean, int, long, float, double, string, File, Directory
- Adding input items: for each array type input:
- Present a "Add new item" button
- When this button is pressed, add an input field of appropriate type such as text field or collection file chooser etc (see the "CWL array input - mockup")
- When displaying a previously saved CR:
- Add required number of items of type and pre-populate them with the data in the CR
- Clearing previous data
- When text in a populated input item is cleared, remove it from the array during save
- Do we need to support any other types other than boolean, int, long, float, double, string, File, Directory?
Radhika Chippada wrote:
- Support arrays with single item types such as string, int, array etc
- Support item types boolean, int, long, float, double, string, File, Directory
- Adding input items: for each array type input:
- Present a "Add new item" button
- When this button is pressed, add an input field of appropriate type such as text field or collection file chooser etc (see the "CWL array input - mockup")
- When displaying a previously saved CR:
- Add required number of items of type and pre-populate them with the data in the CR
- Clearing previous data
- When text in a populated input item is cleared, remove it from the array during save
Maybe have a an [X] or trash button to delete array entries?
- Do we need to support any other types other than boolean, int, long, float, double, string, File, Directory?
We're not doing complex types (nested arrays/records) for this ticket, so no.
You're looking at the wrong spec version. The right one is here: http://www.commonwl.org/v1.0/CommandLineTool.html#CWLType
- Assigned To set to Tom Morris
- Target version set to Arvados Future Sprints
- Target version deleted (
Arvados Future Sprints)
Also available in: Atom
PDF