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

Changeset 4:a72590196440 (2024-04-24)
Previous changeset 3:1faa7e3c94ff (2024-04-04)
Commit message:
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
modified:
slice_image.py
slice_image.xml
b
diff -r 1faa7e3c94ff -r a72590196440 slice_image.py
--- a/slice_image.py Thu Apr 04 15:26:38 2024 +0000
+++ b/slice_image.py Wed Apr 24 08:13:20 2024 +0000
b
@@ -3,6 +3,7 @@
 import random
 import warnings
 
+import giatools.io
 import numpy as np
 import skimage.feature
 import skimage.io
@@ -15,7 +16,7 @@
     if seed is not None:
         random.seed(seed)
 
-    img_raw = skimage.io.imread(input_file)
+    img_raw = giatools.io.imread(input_file)
     if len(img_raw.shape) == 2:
         img_raw = np.expand_dims(img_raw, 3)
 
b
diff -r 1faa7e3c94ff -r a72590196440 slice_image.xml
--- a/slice_image.xml Thu Apr 04 15:26:38 2024 +0000
+++ b/slice_image.xml Wed Apr 24 08:13:20 2024 +0000
[
@@ -1,4 +1,4 @@
-<tool id="ip_slice_image" name="Slice image into patches" version="0.3-3">
+<tool id="ip_slice_image" name="Slice image into patches" version="0.3-4" profile="20.05">
     <description></description>
     <macros>
         <import>creators.xml</import>
@@ -14,10 +14,11 @@
         <xref type="bio.tools">galaxy_image_analysis</xref>
     </xrefs>
     <requirements> 
-        <requirement type="package" version="0.14.2">scikit-image</requirement>
-        <requirement type="package" version="1.15.4">numpy</requirement>
-        <requirement type="package" version="1.1.0">scipy</requirement>
-        <requirement type="package" version="0.15.1">tifffile</requirement>
+        <requirement type="package" version="0.18.1">scikit-image</requirement>
+        <requirement type="package" version="1.23.3">numpy</requirement>
+        <requirement type="package" version="1.13.0">scipy</requirement>
+        <requirement type="package" version="2020.10.1">tifffile</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements>
     <command detect_errors="aggressive"><![CDATA[