# HG changeset patch
# User imgteam
# Date 1576663316 18000
# Node ID 664232d2a3f7ed5d6f9536962126b3629f4ab28a
# Parent 895a29ebd0c76c256f57eb3ecae0af231d55cb27
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/count_objects/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
diff -r 895a29ebd0c7 -r 664232d2a3f7 count_objects.py
--- a/count_objects.py Sat Feb 09 14:34:18 2019 -0500
+++ b/count_objects.py Wed Dec 18 05:01:56 2019 -0500
@@ -4,14 +4,14 @@
import numpy as np
import os
import skimage.io
-from skimage.measure import regionprops
+from skimage.measure import regionprops
parser = argparse.ArgumentParser(description='Count Objects')
parser.add_argument('input_file', type=argparse.FileType('r'),
help='Label input file')
parser.add_argument('output_file', type=argparse.FileType('w'),
help='Tabular output file')
-args = parser.parse_args()
+args = parser.parse_args()
img_raw = skimage.io.imread(args.input_file.name)
res = len(regionprops(img_raw))
diff -r 895a29ebd0c7 -r 664232d2a3f7 count_objects.xml
--- a/count_objects.xml Sat Feb 09 14:34:18 2019 -0500
+++ b/count_objects.xml Wed Dec 18 05:01:56 2019 -0500
@@ -3,13 +3,14 @@
scikit-image
numpy
+ tifffile
-
+