changeset 1:3e4231ed875e draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/scale_image/ commit aeb095d3a95eff1cda6127a8dd757552c0405a11
author imgteam
date Thu, 28 Mar 2019 13:02:18 -0400
parents c4c76f1ebad2
children f3c05a734dd1
files scale_image.py scale_image.xml
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scale_image.py	Sat Feb 09 14:46:03 2019 -0500
+++ b/scale_image.py	Thu Mar 28 13:02:18 2019 -0400
@@ -22,7 +22,6 @@
 
         if ',' in scale:
             scale = scale[1:-1].split(',')
-            scale.reverse()
             scale = [int(i) for i in scale]
         elif '.' in scale:
             scale = float(scale)
@@ -41,4 +40,4 @@
     parser.add_argument('order', type=int, default=1, help='interpolation method')
     args = parser.parse_args()
 
-    scale_image(args.input_file.name, args.out_file.name, args.scale, args.order)
\ No newline at end of file
+    scale_image(args.input_file.name, args.out_file.name, args.scale, args.order)
--- a/scale_image.xml	Sat Feb 09 14:46:03 2019 -0500
+++ b/scale_image.xml	Thu Mar 28 13:02:18 2019 -0400
@@ -1,4 +1,4 @@
-<tool id="ip_scale_image" name="Scale Image" version="0.2">
+<tool id="ip_scale_image" name="Scale Image" version="0.3">
     <description>Scales image</description>
     <requirements>
         <requirement type="package" version="0.14.2">scikit-image</requirement>