diff macro.xml @ 0:067d45e6caa9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgcca commit 00f9e92845737e05a4afb1c93043f35b7e4ea771"
author iuc
date Tue, 12 Jan 2021 10:12:04 +0000
parents
children 4e73ea176c34
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macro.xml	Tue Jan 12 10:12:04 2021 +0000
@@ -0,0 +1,44 @@
+<macros>
+
+    <token name="@TOOL_VERSION@">3.0.0</token>
+
+    <token name="@BLOCK_RULES@">1 corresponds to the first block, 2 corresponds to the second one, etc. This number should not be greater than the number of blocks selected.</token>
+
+    <token name="@COMP_RULES@">This number should not be greater than the selected number of component (2, by default).</token>
+
+    <xml name="output_tests" token_path="" token_compx="1" token_compy="2">
+        <param name="output_selector" value="individuals,corcircle,top_variables,ave,design,individual_table,variable_table,rdata"/>
+        <output name="individual_plot" file="@PATH@/individuals.pdf" ftype="pdf"/>
+        <output name="top_variables" file="@PATH@/top_variables.pdf" ftype="pdf"/>
+        <output name="corcircle" file="@PATH@/corcircle.pdf" ftype="pdf"/>
+        <output name="ave" file="@PATH@/ave.pdf" ftype="pdf"/>
+        <output name="design" file="@PATH@/design.pdf" ftype="pdf"/>
+        <output name="rdata" file="@PATH@/rgcca.result.RData" compare="sim_size" delta="1000" ftype="rdata"/>
+        <output name="variable_table">
+            <assert_contents>
+                <has_n_columns n="5"/>
+                <has_line_matching
+                        expression='.*"cor.axis.@COMPX@"\s"cor.axis.@COMPY@"\s"weight.axis.@COMPX@"\s"weight.axis.@COMPY@".*\s"block"'/>
+                <has_line_matching
+                        expression='^.+(\s\-?\d+.\d+){4}.+$'/>
+            </assert_contents>
+        </output>
+    </xml>
+
+    <xml name="output_tests_3blocks">
+        <param name="blocks" value="agriculture.tsv,industry.tsv,politic.tsv" ftype = "tsv"/>
+        <section name="analyse">
+            <conditional name="tau">
+                <param name="bool" value="false"/>
+                <param name="value" value="0.75"/>
+            </conditional>
+            <param name="scheme" value="4"/>
+        </section>
+        <assert_command>
+            <has_text text="--penalty 0.75"/>
+            <has_text text="--scheme 4"/>
+        </assert_command>
+    </xml>
+
+</macros>
+