diff imagecoordinates_flipaxis.xml @ 1:d0960e1b25a8 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/imagecoordinates_flipaxis/ commit da043bdec956714abb0fa82f278931bbe1a6d41d
author imgteam
date Mon, 25 Mar 2019 11:15:54 -0400
parents 5a210baa2ff1
children f8f1100d0701
line wrap: on
line diff
--- a/imagecoordinates_flipaxis.xml	Wed Mar 20 12:06:07 2019 -0400
+++ b/imagecoordinates_flipaxis.xml	Mon Mar 25 11:15:54 2019 -0400
@@ -6,20 +6,30 @@
   <command detect_errors="aggressive"> 
         <![CDATA[
         python "$__tool_directory__/imagecoordinates_flipaxis.py" '$input' '$output' $img_height
+        $offset_x $offset_y
         ]]> 
   </command>
   <inputs> 
     <param name="input" type="data" format="tabular" label="File with image coordinates"/> 
     <param name="img_height" type="integer" value="100" label="Height of the corresponding image"/>
-  </inputs>
+    <param name="offset_x" type="integer" value="0" label="Added offset in x direction (=width direction)" />
+    <param name="offset_y" type="integer" value="0" label="Added offset in y direction (=height direction)" />
+    </inputs>
   <outputs>
     <data name="output" format="tabular"/>
   </outputs>
   <tests>
     <test>
 	    <param name="input" value="table.tsv" />
+      <output name="output" value="out.tsv" ftype="tabular" />
       <param name="img_height" value="500"/>
-      <output name="output" value="out2.tsv" ftype="tabular" />
+    </test>
+    <test>
+	    <param name="input" value="table.tsv" />
+      <output name="output" value="out_offset.tsv" ftype="tabular" />
+      <param name="img_height" value="500"/>
+      <param name="offset_x" value="1"/>
+      <param name="offset_y" value="2"/>
     </test>
   </tests>
   <help>Makes x the horizontal axis (left to right) and y the vertical axis (bottom to top),