changeset 4:2592a29a785e draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:12:22 +0000
parents 4c43875c790c
children
files concat_channels.py concat_channels.xml
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/concat_channels.py	Thu Apr 04 15:25:29 2024 +0000
+++ b/concat_channels.py	Wed Apr 24 08:12:22 2024 +0000
@@ -1,5 +1,6 @@
 import argparse
 
+import giatools.io
 import numpy as np
 import skimage.io
 import skimage.util
@@ -9,7 +10,7 @@
     images = []
     for image_path in input_image_paths:
 
-        raw_image = skimage.io.imread(image_path)
+        raw_image = giatools.io.imread(image_path)
         if len(raw_image.shape) == 2:
             if axis == 0:
                 raw_image = [raw_image]
--- a/concat_channels.xml	Thu Apr 04 15:25:29 2024 +0000
+++ b/concat_channels.xml	Wed Apr 24 08:12:22 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="ip_concat_channels" name="Concatenate images or channels" version="0.3-0" profile="20.05">
+<tool id="ip_concat_channels" name="Concatenate images or channels" version="0.3-1" profile="20.05">
     <description></description>
     <macros>
         <import>creators.xml</import>
@@ -17,6 +17,7 @@
         <requirement type="package" version="0.18.3">scikit-image</requirement>
         <requirement type="package" version="1.24.1">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[