diff matchms_networking.xml @ 8:0fd1e5d4ca3c draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 13f4f7af12ec694a5f4ab7b3e52f46a4f67a245e
author recetox
date Sun, 19 Nov 2023 14:40:18 +0000
parents d8e937f335b8
children bd6a398a05e9
line wrap: on
line diff
--- a/matchms_networking.xml	Thu Oct 19 15:24:54 2023 +0000
+++ b/matchms_networking.xml	Sun Nov 19 14:40:18 2023 +0000
@@ -1,4 +1,4 @@
-<tool id="matchms_networking" name="matchms networking" version="@TOOL_VERSION@+galaxy0" profile="21.09">
+<tool id="matchms_networking" name="matchms networking" version="@TOOL_VERSION@+galaxy1" profile="21.09">
     <description>create similarity network graph from matchms similarity scores</description>
 
     <macros>
@@ -28,7 +28,7 @@
     <configfiles>
         <configfile name="matchms_networking_cli">
             python3 ${__tool_directory__}/matchms_networking_wrapper.py \
-            --score_name '${score_layer_name}_score' \
+            --score_name '${score_layer_name}' \
             --graph_format '$graph_format' \
             --identifier '$identifier_key' \
             --top_n '$top_n' \
@@ -191,6 +191,18 @@
                 </assert_contents>
             </output>
         </test>
+        <test>
+            <param name="scores" value="networking/test9.json" ftype="json"/>
+            <param name="graph_format" value="graphml"/>
+            <param name="identifier_key" value="compound_name"/>
+            <param name="score_cutoff" value="0.4"/>
+            <param name="keep_unconnected_nodes" value="false"/>
+            <output name="similarity_network_file" ftype="graphml">
+                <assert_contents>
+                    <is_valid_xml />
+                </assert_contents>
+            </output>
+        </test>
     </tests>
 
     <help>