Repository 'imagecoordinates_flipaxis'
hg clone https://toolshed.g2.bx.psu.edu/repos/imgteam/imagecoordinates_flipaxis

Changeset 2:f8f1100d0701 (2019-12-18)
Previous changeset 1:d0960e1b25a8 (2019-03-25) Next changeset 3:984b342d03a6 (2023-11-13)
Commit message:
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/imagecoordinates_flipaxis/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
modified:
imagecoordinates_flipaxis.py
imagecoordinates_flipaxis.xml
b
diff -r d0960e1b25a8 -r f8f1100d0701 imagecoordinates_flipaxis.py
--- a/imagecoordinates_flipaxis.py Mon Mar 25 11:15:54 2019 -0400
+++ b/imagecoordinates_flipaxis.py Wed Dec 18 05:02:25 2019 -0500
[
@@ -2,8 +2,8 @@
 import pandas as pd
 
 
-def imagecoordinates_flipyaxis(input_file, output_file, image_height, offset=[0,0]):
-    df = pd.read_csv(input_file, sep='\t')
+def imagecoordinates_flipyaxis(input_file, output_file, image_height, offset=[0,0]): 
+    df = pd.read_csv(input_file, sep='\t') 
 
     x = df.copy().y # create copy instead of view
     df.y = image_height-(df.x + 1) + offset[1] # since maximal y index = height-1 
b
diff -r d0960e1b25a8 -r f8f1100d0701 imagecoordinates_flipaxis.xml
--- a/imagecoordinates_flipaxis.xml Mon Mar 25 11:15:54 2019 -0400
+++ b/imagecoordinates_flipaxis.xml Wed Dec 18 05:02:25 2019 -0500
[
@@ -1,7 +1,7 @@
 <tool id="imagecoordinates_flipaxis" name="Switch axis coordinates" version="0.1"> 
   <description>Switches the axes of an image and flips the y axis.</description>
   <requirements> 
-    <requirement type="package" version="0.23.4" >pandas</requirement>
+        <requirement type="package" version="0.23.4" >pandas</requirement>
   </requirements>
   <command detect_errors="aggressive"> 
         <![CDATA[
@@ -14,7 +14,7 @@
     <param name="img_height" type="integer" value="100" label="Height of the corresponding image"/>
     <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>
+    </inputs> 
   <outputs>
     <data name="output" format="tabular"/>
   </outputs>