changeset 3:b1c2c210813c draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_histogram_equalization/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:11:54 +0000
parents 3f3783846dc0
children
files histogram_equalization.py histogram_equalization.xml
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/histogram_equalization.py	Thu Apr 04 15:23:34 2024 +0000
+++ b/histogram_equalization.py	Wed Apr 24 08:11:54 2024 +0000
@@ -1,6 +1,7 @@
 import argparse
 import sys
 
+import giatools.io
 import skimage.exposure
 import skimage.io
 import skimage.util
@@ -17,7 +18,7 @@
     parser.add_argument('h_type', choices=hOptions.keys(), help='histogram equalization method')
     args = parser.parse_args()
 
-    img_in = skimage.io.imread(args.input_file.name)
+    img_in = giatools.io.imread(args.input_file.name)
     res = hOptions[args.h_type](img_in)
     res = skimage.util.img_as_uint(res)
     skimage.io.imsave(args.out_file.name, res, plugin="tifffile")
--- a/histogram_equalization.xml	Thu Apr 04 15:23:34 2024 +0000
+++ b/histogram_equalization.xml	Wed Apr 24 08:11:54 2024 +0000
@@ -3,7 +3,7 @@
     <macros>
         <import>creators.xml</import>
         <import>tests.xml</import>
-        <token name="@TOOL_VERSION@">0.14.2</token>
+        <token name="@TOOL_VERSION@">0.18.1</token>
         <token name="@VERSION_SUFFIX@">0</token>
     </macros>
     <creator>
@@ -18,9 +18,9 @@
     </xrefs>
     <requirements> 
         <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
-        <requirement type="package" version="1.15.4">numpy</requirement>
-        <requirement type="package" version="5.3.0">pillow</requirement>
-        <requirement type="package" version="0.15.1">tifffile</requirement>
+        <requirement type="package" version="1.23.3">numpy</requirement>
+        <requirement type="package" version="2020.10.1">tifffile</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements>
     <command detect_errors="aggressive">
     <![CDATA[