changeset 15:44119168868c draft default tip

"planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 7db54c0555a12ecb8b3f756032228c54fe028e0a-dirty"
author ggricourt
date Wed, 09 Mar 2022 15:44:01 +0000
parents 8e8a9e51f1d7
children
files data_manager/metanetx_chem_prop_fetcher.xml tool-data/bigg_model_sbml.loc.sample tool-data/metanetx_chem_prop.loc.sample tool-data/model_sbml.loc.sample tool_data_table_conf.xml.sample
diffstat 5 files changed, 15 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/metanetx_chem_prop_fetcher.xml	Wed Mar 09 15:18:07 2022 +0000
+++ b/data_manager/metanetx_chem_prop_fetcher.xml	Wed Mar 09 15:44:01 2022 +0000
@@ -5,25 +5,13 @@
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
         python '$__tool_directory__/metanetx_chem_prop_fetcher.py'
-            #if $input_cond.input_select == "latest"
-                --version latest
-            #else
-                --version '$input_cond.version_id'
-            #end if
+            --version '$version_id'
             --out-file '$out_file'
     ]]></command>
     <inputs>
-        <conditional name="input_cond">
-            <param name="input_select" type="select" label="Select a version to download">
-                <option value="latest">Download latest</option>
-                <option value="version">Choose version</option>
-            </param>
-            <when value="version">
-                <param name="version_id" type="text" label="Version ID to download" value="">
-                    <validator type="empty_field" message="Version ID is required"/>
-                </param>
-            </when>
-        </conditional>
+        <param name="version_id" type="text" label="Version ID to download" value="">
+            <validator type="empty_field" message="Version ID is required"/>
+        </param>
     </inputs>
     <outputs>
         <data name="out_file" format="data_manager_json" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/bigg_model_sbml.loc.sample	Wed Mar 09 15:44:01 2022 +0000
@@ -0,0 +1,3 @@
+## Bigg SBML files
+#Value	Name	Path
+#iAF1260	Escherichia coli str. K-12 substr. MG1655 (iAF1260)	bigg/model/iAF1260.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/metanetx_chem_prop.loc.sample	Wed Mar 09 15:44:01 2022 +0000
@@ -0,0 +1,3 @@
+## MetaNetW chem_prop data
+#Value	Name	InChI
+#MNXM01    MNXM01: PMF (H)    InChIKey=GPRLSGONYQIRFK-UHFFFAOYSA-N
--- a/tool-data/model_sbml.loc.sample	Wed Mar 09 15:18:07 2022 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-## Bigg SBML files
-#Value	Name	Path
-#iAF1260	Escherichia coli str. K-12 substr. MG1655 (iAF1260)	bigg/model/iAF1260.xml
--- a/tool_data_table_conf.xml.sample	Wed Mar 09 15:18:07 2022 +0000
+++ b/tool_data_table_conf.xml.sample	Wed Mar 09 15:44:01 2022 +0000
@@ -4,5 +4,10 @@
         <columns>value, name, path</columns>
         <file path="tool-data/bigg_model_sbml.loc" />
     </table>
+    <!-- Location of metanetx chem prop data -->
+    <table name="metanetx_chem_prop" comment_char="#">
+        <columns>value, name, inchi</columns>
+        <file path="tool-data/metanetx_chem_prop.loc" />
+    </table>
 </tables>