diff scale_image.py @ 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
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)