# HG changeset patch # User imgteam # Date 1576663345 18000 # Node ID f8f1100d07019c141bb9d9528ecbb1dea352fca6 # Parent d0960e1b25a879f8164f5dfd34857099ce340b05 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/imagecoordinates_flipaxis/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90" 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 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 @@ Switches the axes of an image and flips the y axis. - pandas + pandas - +