diff SetCharges.xml @ 3:d266101e0e48 draft default tip

planemo upload for repository https://forge.inrae.fr/metexplore/met4j-galaxy commit e757d0398a8407d983f1ef3f900b31cafc26e170
author metexplore
date Wed, 21 Jan 2026 15:32:28 +0000
parents 921a828bd368
children
line wrap: on
line diff
--- a/SetCharges.xml	Fri Nov 21 10:23:12 2025 +0000
+++ b/SetCharges.xml	Wed Jan 21 15:32:28 2026 +0000
@@ -47,67 +47,7 @@
   <outputs>
     <data format="sbml" name="out"/>
   </outputs>
-  <tests>
-    <test>
-      <param name="sbml" value="toy_model.xml"/>
-      <param name="tab" value="charges.tsv"/>
-      <output ftype="sbml" name="out">
-        <assert_contents>
-          <is_valid_xml/>
-          <has_line_matching expression=".*fbc:charge=.2.*" n="1"/>
-          <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/>
-        </assert_contents>
-      </output>
-    </test>
-    <test>
-      <param name="sbml" value="toy_model.xml"/>
-      <param name="tab" value="chargesWithComment.tsv"/>
-      <output ftype="sbml" name="out">
-        <assert_contents>
-          <is_valid_xml/>
-          <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/>
-          <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/>
-        </assert_contents>
-      </output>
-    </test>
-    <test>
-      <param name="sbml" value="toy_model.xml"/>
-      <param name="tab" value="charges.tsv"/>
-      <param name="nSkip" value="1"/>
-      <output ftype="sbml" name="out">
-        <assert_contents>
-          <is_valid_xml/>
-          <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/>
-          <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/>
-        </assert_contents>
-      </output>
-    </test>
-    <test>
-      <param name="sbml" value="toy_model.xml"/>
-      <param name="tab" value="charges.tsv"/>
-      <param name="ci" value="2"/>
-      <param name="cc" value="3"/>
-      <output ftype="sbml" name="out">
-        <assert_contents>
-          <is_valid_xml/>
-          <has_line_matching expression=".*fbc:charge=.2.*" n="1"/>
-          <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/>
-        </assert_contents>
-      </output>
-    </test>
-    <test>
-      <param name="sbml" value="XF_network.sbml"/>
-      <param name="tab" value="chargesXF.tsv"/>
-      <param name="p" value="true"/>
-      <param name="s" value="true"/>
-      <output ftype="sbml" name="out">
-        <assert_contents>
-          <is_valid_xml/>
-          <has_line_matching expression=".*fbc:charge=.-1000.*" n="3"/>
-        </assert_contents>
-      </output>
-    </test>
-  </tests>
+  <tests/>
   <help><![CDATA[Set charge to metabolites in a SBML file from a tabulated file containing the metabolite ids and the charges
 The charge must be a number. The ids must correspond between the tabulated file and the SBML file.
 If prefix or suffix is different in the SBML file, use the -p or the -s options.