changeset 1:c6a6ab7c9940 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/\mergeneighboursinlabelimage commit b2acc1845a25828181597fe5b6982fe116a7796d
author imgteam
date Mon, 22 Jul 2019 05:03:33 -0400
parents 07ac39c0e949
children
files mergeneighboursinlabelimage.py mergeneighboursinlabelimage.xml
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mergeneighboursinlabelimage.py	Sat Feb 09 14:38:38 2019 -0500
+++ b/mergeneighboursinlabelimage.py	Mon Jul 22 05:03:33 2019 -0400
@@ -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)
--- 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**