mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
19 lines
788 B
XML
19 lines
788 B
XML
<tool id="data_manager_add_test" name="Test Data Manager add" tool_type="manage_data" version="0.0.1">
|
|
<configfiles>
|
|
<configfile name="static_test_data">{"data_tables": {"testbeta": { "add": [{"value": "newvalue", "path": "newvalue.txt"}]}}}</configfile>
|
|
</configfiles>
|
|
<command detect_errors="exit_code">
|
|
mkdir $out_file.files_path ;
|
|
echo "A new value" > '$out_file.files_path/newvalue.txt';
|
|
cp '$static_test_data' '$out_file';
|
|
exit $exit_code
|
|
</command>
|
|
<inputs>
|
|
<param type="text" name="ignored_value" value="" label="Ignored" />
|
|
<param type="integer" name="exit_code" value="0" label="Exit code"/>
|
|
</inputs>
|
|
<outputs>
|
|
<data name="out_file" format="data_manager_json"/>
|
|
</outputs>
|
|
</tool>
|