# HG changeset patch # User imgteam # Date 1713946335 0 # Node ID 2d1de6e7b1137c9d0fd9a08916a062fd74c4ef35 # Parent 3aa2d054848adeda1ddb0632cb21ea520f468b66 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/colorize_labels commit c86a1b93cb7732f7331a981d13465653cc1a2790 diff -r 3aa2d054848a -r 2d1de6e7b113 colorize_labels.py --- a/colorize_labels.py Thu Apr 04 15:25:22 2024 +0000 +++ b/colorize_labels.py Wed Apr 24 08:12:15 2024 +0000 @@ -1,5 +1,6 @@ import argparse +import giatools.io import matplotlib.colors as mpl import networkx as nx import numpy as np @@ -55,7 +56,7 @@ args = parser.parse_args() # Load image and normalize - im = skimage.io.imread(args.input) + im = giatools.io.imread(args.input) im = np.squeeze(im) assert im.ndim == 2 diff -r 3aa2d054848a -r 2d1de6e7b113 colorize_labels.xml --- a/colorize_labels.xml Thu Apr 04 15:25:22 2024 +0000 +++ b/colorize_labels.xml Wed Apr 24 08:12:15 2024 +0000 @@ -4,7 +4,7 @@ creators.xml tests.xml 3.2.1 - 1 + 2 @@ -16,6 +16,7 @@ networkx numpy scikit-image + giatools