Repository 'colorize_labels'
hg clone https://toolshed.g2.bx.psu.edu/repos/imgteam/colorize_labels

Changeset 3:2d1de6e7b113 (2024-04-24)
Previous changeset 2:3aa2d054848a (2024-04-04) Next changeset 4:5907be5a8d7c (2024-09-24)
Commit message:
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/colorize_labels commit c86a1b93cb7732f7331a981d13465653cc1a2790
modified:
colorize_labels.py
colorize_labels.xml
b
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
b
@@ -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
 
b
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 @@
         <import>creators.xml</import>
         <import>tests.xml</import>
         <token name="@TOOL_VERSION@">3.2.1</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@VERSION_SUFFIX@">2</token>
     </macros>
     <creator>
         <expand macro="creators/bmcv" />
@@ -16,6 +16,7 @@
         <requirement type="package" version="@TOOL_VERSION@">networkx</requirement>
         <requirement type="package" version="1.22">numpy</requirement>
         <requirement type="package" version="0.18.1">scikit-image</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements>
     <command><![CDATA[