diff tools/networkAnalysis/NetworkSummary/NetworkSummary.xml @ 6:7a6f2380fc1d draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
author metexplore
date Wed, 17 May 2023 13:26:37 +0000
parents 35c9abcd8934
children
line wrap: on
line diff
--- a/tools/networkAnalysis/NetworkSummary/NetworkSummary.xml	Thu Jan 12 13:45:13 2023 +0000
+++ b/tools/networkAnalysis/NetworkSummary/NetworkSummary.xml	Wed May 17 13:26:37 2023 +0000
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<tool id="met4j_NetworkSummary" name="NetworkSummary" version="1.2.1">
+<tool id="met4j_NetworkSummary" name="NetworkSummary" version="MET4J_VERSION_TEST">
   <description>Create a report summarizing several graph measures characterising the structure of the network.</description>
   <xrefs>
     <xref type="bio.tools">met4j</xref>
   </xrefs>
   <requirements>
-    <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.2.1</container>
+    <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:MET4J_VERSION_TEST</container>
   </requirements>
   <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.NetworkSummary -i "$inputPath"
 #if str($sideCompoundFile) != 'None':
@@ -26,10 +26,13 @@
   </outputs>
   <tests>
     <test>
-      <param name="inputPath" value="toy_model.xml"/>
-      <output name="outputPath">
-      </output>
-    </test>
+			<param name="inputPath" value="toy_model.xml"/>
+			<output name="outputPath">
+				<assert_contents>
+					<has_n_lines min="1"/>
+				</assert_contents>
+			</output>
+		</test>
   </tests>
   <help><![CDATA[Use a metabolic network in SBML file and an optional list of side compounds, and produce a report summarizing several graph measures characterising the structure of the network.This includes (non-exhaustive list): size and order, connectivity, density, degree distribution, shortest paths length, top centrality nodes...]]></help>
   <citations/>