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

Changeset 1:8856a7c85e4c (2019-12-18)
Previous changeset 0:aacfbd7c4af6 (2019-02-09) Next changeset 2:f312d414f234 (2023-11-13)
Commit message:
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/slice_image/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
modified:
slice_image.py
slice_image.xml
b
diff -r aacfbd7c4af6 -r 8856a7c85e4c slice_image.py
--- a/slice_image.py Sat Feb 09 14:46:50 2019 -0500
+++ b/slice_image.py Wed Dec 18 05:03:25 2019 -0500
b
@@ -8,10 +8,10 @@
 import skimage.util
 import skimage.feature
 from scipy.stats import entropy as scipy_entropy
-

 def slice_image(input_file, out_folder, label=None, label_out_folder=None, window_size=64, 
                 stride=1, bg_thresh=1, limit_slices=False, n_thresh=5000, seed=None):
-    #TODO NOT Implemented:process labels
+    #TODO NOT Implemented:process labels 
     # --> label and label_out_folder useless so far
 
     # primarily for testing purposes:
b
diff -r aacfbd7c4af6 -r 8856a7c85e4c slice_image.xml
--- a/slice_image.xml Sat Feb 09 14:46:50 2019 -0500
+++ b/slice_image.xml Wed Dec 18 05:03:25 2019 -0500
[
@@ -1,11 +1,12 @@
-<tool id="ip_slice_image" name="Slice Image" version="0.2">
+<tool id="ip_slice_image" name="Slice Image" version="0.3">
     <description>into smaller patches</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="1.1.0">scipy</requirement> -->
+        <requirement type="package" version="1.1.0">scipy</requirement>
+        <requirement type="package" version="0.15.1">tifffile</requirement>
     </requirements>
-    <command> 
+    <command detect_errors="aggressive"> 
         <![CDATA[
         mkdir ./out &&
         python '$__tool_directory__/slice_image.py'