diff sample_generator.xml @ 23:4ba68dd788b3 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 57f4407e278a615f47a377a3328782b1d8e0b54d
author bgruening
date Sun, 30 Dec 2018 01:52:56 -0500
parents c02c2bf137ab
children 1e99cfb71f40
line wrap: on
line diff
--- a/sample_generator.xml	Thu Oct 11 03:31:19 2018 -0400
+++ b/sample_generator.xml	Sun Dec 30 01:52:56 2018 -0500
@@ -32,7 +32,7 @@
 points_df = pandas.DataFrame(my_points)
 targets_df = pandas.DataFrame(my_targets)
 res = pandas.concat([points_df, targets_df], axis=1)
-res.to_csv(path_or_buf = "$outfile", sep="\t", index=False)
+res.to_csv(path_or_buf = "$outfile", sep="\t", index=False, float_format='%.14f')
 
             ]]>
         </configfile>
@@ -238,7 +238,7 @@
         <test>
             <param name="selected_generator" value="make_blobs"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="blobs.txt"/>
+            <output name="outfile" file="blobs.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_classification"/>
@@ -248,57 +248,57 @@
         <test>
             <param name="selected_generator" value="make_circles"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="circles.txt"/>
+            <output name="outfile" file="circles.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_friedman1"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="friedman1.txt"/>
+            <output name="outfile" file="friedman1.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_friedman2"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="friedman2.txt"/>
+            <output name="outfile" file="friedman2.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_friedman3"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="friedman3.txt"/>
+            <output name="outfile" file="friedman3.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_gaussian_quantiles"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="gaus.txt"/>
+            <output name="outfile" file="gaus.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_hastie_10_2"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="hastie.txt" compare="contains"/>
+            <output name="outfile" file="hastie.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_moons"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="moons.txt"/>
+            <output name="outfile" file="moons.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_regression"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="regression.txt" compare="sim_size" />
+            <output name="outfile" file="regression.txt" compare="sim_size" delta="1" />
         </test>
         <test>
             <param name="selected_generator" value="make_s_curve"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="scurve.txt"/>
+            <output name="outfile" file="scurve.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_sparse_uncorrelated"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="sparse_u.txt"/>
+            <output name="outfile" file="sparse_u.txt" compare="sim_size" delta="1"/>
         </test>
         <test>
             <param name="selected_generator" value="make_swiss_roll"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="swiss_r.txt"/>
+            <output name="outfile" file="swiss_r.txt" compare="sim_size" delta="1"/>
         </test>
     </tests>
     <help>