changeset 4:a72590196440 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/slice_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:13:20 +0000
parents 1faa7e3c94ff
children
files slice_image.py slice_image.xml
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/slice_image.py	Thu Apr 04 15:26:38 2024 +0000
+++ b/slice_image.py	Wed Apr 24 08:13:20 2024 +0000
@@ -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)
 
--- 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[