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

Changeset 5:85666e555698 (2024-04-24)
Previous changeset 4:3179853faae9 (2024-04-04) Next changeset 6:72b8a6b7661b (2024-10-17)
Commit message:
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
modified:
scale_image.py
scale_image.xml
b
diff -r 3179853faae9 -r 85666e555698 scale_image.py
--- a/scale_image.py Thu Apr 04 15:26:23 2024 +0000
+++ b/scale_image.py Wed Apr 24 08:13:13 2024 +0000
b
@@ -1,6 +1,7 @@
 import argparse
 import sys
 
+import giatools.io
 import numpy as np
 import skimage.io
 import skimage.transform
@@ -10,7 +11,7 @@
 
 def scale_image(input_file, output_file, scale, order, antialias):
     Image.MAX_IMAGE_PIXELS = 50000 * 50000
-    im = skimage.io.imread(input_file)
+    im = giatools.io.imread(input_file)
 
     # Parse `--scale` argument
     if ',' in scale:
b
diff -r 3179853faae9 -r 85666e555698 scale_image.xml
--- a/scale_image.xml Thu Apr 04 15:26:23 2024 +0000
+++ b/scale_image.xml Wed Apr 24 08:13:13 2024 +0000
[
@@ -4,7 +4,7 @@
         <import>creators.xml</import>
         <import>tests.xml</import>
         <token name="@TOOL_VERSION@">0.18.3</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <creator>
         <expand macro="creators/bmcv" />
@@ -21,6 +21,7 @@
         <requirement type="package" version="10.0.1">pillow</requirement>
         <requirement type="package" version="1.24.4">numpy</requirement>
         <requirement type="package" version="2021.7.2">tifffile</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements> 
     <command detect_errors="aggressive"><![CDATA[