Mercurial > repos > ggricourt > data_manager_bigg
diff data_manager/bigg_model_sbml_fetcher.xml @ 5:5e6f76507721 draft
"planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 47caed1dd87e80ae226fabb584e9d63d7c86a436-dirty"
author | ggricourt |
---|---|
date | Thu, 24 Feb 2022 10:56:46 +0000 |
parents | a15b229ee755 |
children |
line wrap: on
line diff
--- a/data_manager/bigg_model_sbml_fetcher.xml Thu Feb 24 09:30:37 2022 +0000 +++ b/data_manager/bigg_model_sbml_fetcher.xml Thu Feb 24 10:56:46 2022 +0000 @@ -5,14 +5,25 @@ </requirements> <command detect_errors="exit_code"><![CDATA[ python '$__tool_directory__/bigg_model_sbml_fetcher.py' - --model-id '$model_id' - --out-file '$out_file' + #if $model_cond.model_select == "auto" + --model-all + #else + --model-id '$model_cond.model_id' + #end if + --out-file '$out_file' ]]></command> <inputs> - <param name="model_id" type="select" label="Model Id"> - <option value="iML1515">Escherichia coli str. K-12 substr. MG1655 (iML1515)</option> - <option value="iYO844">Bacillus subtilis subsp. subtilis str. 168 (iYO844)</option> - </param> + <conditional name="model_cond"> + <param name="model_select" type="select" label="Select a reference dataset your history or use a built-in?"> + <option value="auto">Download all models</option> + <option value="manual">Manual install</option> + </param> + <when value="manual"> + <param name="model_id" type="text" label="BIGG id model" value=""> + <validator type="empty_field" message="BIGG model ID is required"/> + </param> + </when> + </conditional> </inputs> <outputs> <data name="out_file" format="data_manager_json" />