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

Changeset 1:c6a6ab7c9940 (2019-07-22)
Previous changeset 0:07ac39c0e949 (2019-02-09) Next changeset 2:9cbddb13fb9e (2023-11-13)
Commit message:
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit b2acc1845a25828181597fe5b6982fe116a7796d
modified:
mergeneighboursinlabelimage.py
mergeneighboursinlabelimage.xml
b
diff -r 07ac39c0e949 -r c6a6ab7c9940 mergeneighboursinlabelimage.py
--- a/mergeneighboursinlabelimage.py Sat Feb 09 14:38:38 2019 -0500
+++ b/mergeneighboursinlabelimage.py Mon Jul 22 05:03:33 2019 -0400
b
@@ -5,7 +5,7 @@
 from skimage.measure import regionprops
 import scipy.spatial.distance
 import numpy as np
-import warnings
+import warnings 
 
 def merge_n(img, dist=50):
     props = regionprops(img)
b
diff -r 07ac39c0e949 -r c6a6ab7c9940 mergeneighboursinlabelimage.xml
--- a/mergeneighboursinlabelimage.xml Sat Feb 09 14:38:38 2019 -0500
+++ b/mergeneighboursinlabelimage.xml Mon Jul 22 05:03:33 2019 -0400
[
@@ -1,10 +1,11 @@
-<tool id="ip_merge_neighbours_in_label" name="Merge Neighbours in Label" version="0.2">
+<tool id="ip_merge_neighbours_in_label" name="Merge Neighbours in Label" version="0.3"> 
     <description>Merge Neighbours in Label Image</description>
     <requirements>
         <requirement type="package" version="0.14.2">scikit-image</requirement>
         <requirement type="package" version="1.15.4">numpy</requirement>
+        <requirement type="package" version="0.15.1">tifffile</requirement>
     </requirements>
-    <command>
+    <command detect_errors="aggressive">
         <![CDATA[
         python '$__tool_directory__/mergeneighboursinlabelimage.py' '$input' ./tmp.tiff -c $c
         ]]>
@@ -21,7 +22,7 @@
           <param name="input" value="galaxyIcon_noText.tif"/>
           <param name="c" value="10"/>
           <output name="output" file="out.tiff" ftype="tiff" compare="sim_size"/>
-        </test>
+        </test> 
     </tests>
     <help>
     **What it does**