Mercurial > repos > imgteam > mahotas_features
changeset 2:e26894daf0a0 draft default tip
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/mahotas-features/ commit 8e99ddb62ceab1da15996906a0813826b62d38fe
| author | imgteam |
|---|---|
| date | Wed, 17 Dec 2025 11:25:07 +0000 |
| parents | 0c76d029dbe3 |
| children | |
| files | mahotas_features.xml |
| diffstat | 1 files changed, 20 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/mahotas_features.xml Fri Nov 10 14:23:28 2023 +0000 +++ b/mahotas_features.xml Wed Dec 17 11:25:07 2025 +0000 @@ -11,23 +11,25 @@ <requirement type="package" version="4.0.0">pillow</requirement> <requirement type="package" version="1.12">numpy</requirement> <requirement type="package" version="0.15.1">tifffile</requirement> - </requirements> - <command detect_errors="aggressive"><![CDATA[mahotas-features.py -#set files = '" "'.join( [ str( $file ) for $file in $inputs ] ) -"${files}" + </requirements> + <command detect_errors="aggressive"><![CDATA[ + /usr/local/bin/mahotas-features.py + #set files = '" "'.join( [ str( $file ) for $file in $inputs ] ) + "${files}" ---output $output ---convert-to-bw $convertbw -$haralick -$lbp ---clobber -#if $lbpradius and $lbpradius is not None: ---lbp-radius $lbpradius -#end if + --output $output + --convert-to-bw $convertbw + $haralick + $lbp + --clobber + #if $lbpradius and $lbpradius is not None: + --lbp-radius $lbpradius + #end if -#if $lbppoints and $lbppoints is not None: ---lbp-points $lbppoints -#end if]]></command> + #if $lbppoints and $lbppoints is not None: + --lbp-points $lbppoints + #end if]]> + </command> <inputs> <param name="inputs" type="data" format="tiff,png,jpg,bmp" multiple="True" label="Image files"/> <param name="convertbw" type="select" label="Convert color images to greyscale"> @@ -46,9 +48,9 @@ <tests> <test> <param name="inputs" value="galaxyIcon_noText.png"/> - <param name="haralick" value="--haralick" /> - <param name="lbp" value="--lbp" /> - <param name="convertbw" value="max" /> + <param name="haralick" value="true"/> + <param name="lbp" value="true"/> + <param name="convertbw" value="max"/> <output name="output" file="features.tsv" ftype="tsv" lines_diff="2"/> </test> </tests>
