Mercurial > repos > imgteam > 2d_feature_extraction
changeset 2:6fdb3542a406 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_feature_extraction/ commit b2acc1845a25828181597fe5b6982fe116a7796d
author | imgteam |
---|---|
date | Mon, 22 Jul 2019 04:59:39 -0400 |
parents | f03b4da203d0 |
children | 5791a7f65275 |
files | 2d_feature_extraction.py 2d_feature_extraction.xml |
diffstat | 2 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/2d_feature_extraction.py Tue Jul 09 08:35:50 2019 -0400 +++ b/2d_feature_extraction.py Mon Jul 22 04:59:39 2019 -0400 @@ -1,7 +1,6 @@ import argparse import numpy as np import pandas as pd -import tifffile import skimage.io import skimage.measure import skimage.feature @@ -20,7 +19,7 @@ features.add_argument('--max_intensity', dest='max_intensity', action='store_true') features.add_argument('--mean_intensity', dest='mean_intensity', action='store_true') features.add_argument('--min_intensity', dest='min_intensity', action='store_true') -features.add_argument('--moments_hu', dest='moments_hu', action='store_true') +features.add_argument('--moments_hu', dest='moments_hu', action='store_true') features.add_argument('--centroid', dest='centroid', action='store_true') features.add_argument('--bbox', dest='bbox', action='store_true') features.add_argument('--area', dest='area', action='store_true')
--- a/2d_feature_extraction.xml Tue Jul 09 08:35:50 2019 -0400 +++ b/2d_feature_extraction.xml Mon Jul 22 04:59:39 2019 -0400 @@ -1,12 +1,12 @@ -<tool id="ip_2d_feature_extraction" name="2D Feature Extraction" version="0.0.9"> +<tool id="ip_2d_feature_extraction" name="2D Feature Extraction" version="0.1.1"> <description>Feature Extraction</description> - <requirements> + <requirements> <requirement type="package" version="0.23.4">pandas</requirement> <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__/2d_feature_extraction.py' #if $feature_options['features'] == 'all'