galaxy
galaxy copied to clipboard
Dynamics options add library dataset
dynamics options add Library Dataset support, Fix a bug where the parameter value of from_dataset does not take effect on Library Dataset( The file selected by the user from the Library ). Although the files selected by the user from the current history are effective.
<param name="tsvFile" type="data" label="model" help=""/>
<param name="pattern_select" type="select" label="pattern" help="">
<options from_dataset="tsvFile">
<column name="name" index="0"/>
<column name="value" index="1"/>
</options>
</param>
How to test the changes?
- [ ] I've included appropriate automated tests.
- [ ] This is a refactoring of components with existing test coverage.
- [x] Instructions for manual testing are as follows:
- Add the above code about 'from_dataset' to the XML of a tool
- Select a tsv file from the current history in the front-end. The dropdown list will display the file's content normally.
- Add this tsv file to a new created Library and select it from the Library in the front-end, you will find that dropdown list cannot be displayed.
- Then update the code to support the Library file, select the tsv file again from the Library, and find that the dropdown list can display the content normally.
License
- [x] I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.