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

Changeset 3:9ccd642e7ae2 (2022-02-26)
Previous changeset 2:4e089a0983b1 (2022-02-20) Next changeset 4:aee73493bf53 (2022-07-18)
Commit message:
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
modified:
landmark_registration.xml
b
diff -r 4e089a0983b1 -r 9ccd642e7ae2 landmark_registration.xml
--- a/landmark_registration.xml Sun Feb 20 15:46:58 2022 +0000
+++ b/landmark_registration.xml Sat Feb 26 17:14:05 2022 +0000
b
@@ -1,4 +1,4 @@
-<tool id="ip_landmark_registration" name="Landmark Registration" version="0.0.3" profile="20.05">
+<tool id="ip_landmark_registration" name="Landmark Registration" version="0.0.4" profile="20.05">
     <description>estimates the affine transformation matrix</description>
     <requirements>
         <requirement type="package" version="0.18.1">scikit-image</requirement>
@@ -12,9 +12,9 @@
         '$fn_pts1'
         '$fn_pts2'
         '$fn_tmat'
-        #if $algo_option.algo == 'ransac'
-        --res_th $algo_option.res_thr
-        --max_ite $algo_option.max_iter
+        #if '$algo_option.algo' == 'ransac':
+            --res_th $algo_option.res_thr
+            --max_ite $algo_option.max_iter
         #end if
 ]]></command>
     <inputs>
@@ -39,15 +39,19 @@
         <test>
             <param name="fn_pts1" value="points_moving.tsv"/>
             <param name="fn_pts2" value="points_fixed.tsv"/>
-            <param name="algo_option.algo" value="ls"/>
+            <conditional name="algo_option">
+                <param name="algo" value="ls"/>
+            </conditional>
             <output name="fn_tmat" value="tmat.tsv" ftype="tabular" compare="diff" lines_diff="6"/>
         </test>
         <test>
             <param name="fn_pts1" value="points_moving.tsv"/>
             <param name="fn_pts2" value="points_fixed.tsv"/>
-            <param name="algo_option.algo" value="ransac"/>
-            <param name="algo_option.res_thr" value="2"/>
-            <param name="algo_option.max_iter" value="100"/>
+            <conditional name="algo_option">
+                <param name="algo" value="ransac"/>
+                <param name="res_thr" value="2"/>
+                <param name="max_iter" value="100"/>
+            </conditional>
             <output name="fn_tmat" value="tmat.tsv" ftype="tabular" compare="diff" lines_diff="6"/>
         </test>
     </tests>