# HG changeset patch # User imgteam # Date 1713946349 0 # Node ID 48fa3ac55df23e48114c244c887c020a298b7db2 # Parent f8b7770cbca524b727f7de1fb9b622890d78e562 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/image_math commit c86a1b93cb7732f7331a981d13465653cc1a2790 diff -r f8b7770cbca5 -r 48fa3ac55df2 image_math.py --- a/image_math.py Thu Apr 04 15:25:35 2024 +0000 +++ b/image_math.py Wed Apr 24 08:12:29 2024 +0000 @@ -2,6 +2,7 @@ import ast import operator +import giatools.io import numpy as np import skimage.io @@ -77,7 +78,7 @@ im_shape = None for input in args.input: name, filepath = input.split(':') - im = skimage.io.imread(filepath) + im = giatools.io.imread(filepath) assert name not in inputs, 'Input name "{name}" is ambiguous.' inputs[name] = im if im_shape is None: diff -r f8b7770cbca5 -r 48fa3ac55df2 image_math.xml --- a/image_math.xml Thu Apr 04 15:25:35 2024 +0000 +++ b/image_math.xml Wed Apr 24 08:12:29 2024 +0000 @@ -4,7 +4,7 @@ creators.xml tests.xml 1.26.4 - 1 + 2 @@ -15,6 +15,7 @@ numpy scikit-image + giatools