changeset 1:5b82f2186244 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/permutate_axis/ commit b2acc1845a25828181597fe5b6982fe116a7796d
author imgteam
date Mon, 22 Jul 2019 05:04:15 -0400
parents 0bbe34198e24
children 91e255c78eb5
files permutate_axis.py permutate_axis.xml
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/permutate_axis.py	Sat Feb 09 14:42:29 2019 -0500
+++ b/permutate_axis.py	Mon Jul 22 05:04:15 2019 -0400
@@ -9,7 +9,7 @@
     images = []
     raw_image = skimage.io.imread(input_image_path, plugin='tifffile')
     for i in permutate:
-        # TODO generalise
+        # TODO generalise 
         if axis == 0:
             a_slice = raw_image[i]
         elif axis == 1:
--- a/permutate_axis.xml	Sat Feb 09 14:42:29 2019 -0500
+++ b/permutate_axis.xml	Mon Jul 22 05:04:15 2019 -0400
@@ -1,14 +1,15 @@
-<tool id="ip_permutate_axis" name="Permutate image" version="0.1">
+<tool id="ip_permutate_axis" name="Permutate image" version="0.2"> 
     <description>along an axis</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__/permutate_axis.py' '$input' '$output' $permutate --axis $axis
     ]]>
-    </command>
+    </command> 
     <inputs>
         <param name="input" type="data" format="tiff" label="Binary Image File"/>
         <param name="permutate" type="text" value="0,1,2" label="new channel order">