# HG changeset patch # User imgteam # Date 1713946359 0 # Node ID 4e25befab1028175fbb46683c1f7477ae645ff24 # Parent ad795d260ba801a702b24731e9969cfe5fd9a063 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/morphological_operations commit c86a1b93cb7732f7331a981d13465653cc1a2790 diff -r ad795d260ba8 -r 4e25befab102 morphological_operations.py --- a/morphological_operations.py Thu Apr 04 15:25:44 2024 +0000 +++ b/morphological_operations.py Wed Apr 24 08:12:39 2024 +0000 @@ -1,5 +1,6 @@ import argparse +import giatools.io import numpy as np import scipy.ndimage as ndi import skimage.io @@ -76,7 +77,7 @@ parser.add_argument('output', type=str) args = parser.parse_args() - im = skimage.io.imread(args.input) + im = giatools.io.imread(args.input) assert im.ndim in (2, 3), 'Input image must be two-dimensional and either single-channel or multi-channel.' if im.ndim == 2: diff -r ad795d260ba8 -r 4e25befab102 morphological_operations.xml --- a/morphological_operations.xml Thu Apr 04 15:25:44 2024 +0000 +++ b/morphological_operations.xml Wed Apr 24 08:12:39 2024 +0000 @@ -4,7 +4,7 @@ creators.xml tests.xml 1.12.0 - 0 + 1 @@ -18,6 +18,7 @@ scipy scikit-image + giatools