diff ggplot_histogram.xml @ 12:6fc8bab811da draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6737c924917eea8c009c30d7f9917d5a341b9948
author iuc
date Mon, 30 Sep 2024 15:40:22 +0000
parents b0d96516e6a5
children
line wrap: on
line diff
--- a/ggplot_histogram.xml	Fri Dec 09 22:40:48 2022 +0000
+++ b/ggplot_histogram.xml	Mon Sep 30 15:40:22 2024 +0000
@@ -1,8 +1,8 @@
 <tool id="ggplot2_histogram" name="Histogram with ggplot2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
-    <expand macro="bio_tools"/>
     <macros>
         <import>macros.xml</import>
     </macros>
+    <expand macro="bio_tools"/>
     <expand macro="requirements">
         <requirement type="package" version="1.4.4">r-reshape2</requirement>
         <requirement type="package" version="2.1.0">r-svglite</requirement>
@@ -112,10 +112,18 @@
         <expand macro="additional_output" />
     </outputs>
     <tests>
-        <test>
+        <test expect_num_outputs="1">
+            <param name="input1" value="mtcars.txt"/>
+            <output name="output1">
+                <assert_contents>
+                    <has_size size="10k" delta="1k"/>
+                </assert_contents>
+            </output>
+        </test>
+        <test expect_num_outputs="2">
             <param name="input1" value="mtcars.txt"/>
             <param name="additional_output_format" value="pdf" />
-            <output name="output2" file="ggplot_histogram_result1.pdf" compare="sim_size"/>
+            <output name="output2" file="ggplot_histogram_result1.pdf" ftype="pdf" compare="sim_size"/>
         </test>
     </tests>
     <help><![CDATA[