diff imagej2_create_image.xml @ 3:69e28b06e027 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit 8f49f3c66b5a1de99ec15e65c2519a56792f1d56
author imgteam
date Wed, 25 Sep 2024 15:56:08 +0000
parents 666af1279007
children
line wrap: on
line diff
--- a/imagej2_create_image.xml	Sun Nov 05 10:54:34 2023 +0000
+++ b/imagej2_create_image.xml	Wed Sep 25 15:56:08 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="imagej2_create_image" name="Create new image" version="@WRAPPER_VERSION@.1">
+<tool id="imagej2_create_image" name="Create new image" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0">
     <description>with ImageJ2</description>
     <macros>
         <import>imagej2_macros.xml</import>
@@ -12,7 +12,7 @@
     </xrefs>
     <expand macro="fiji_requirements"/>
     <command detect_errors="exit_code"><![CDATA[
-#set output_log = '$output_log.txt'
+#set output_log = 'output_log.txt'
 #set output_name = '.'.join(['new_image', str($output_datatype)])
 ImageJ --ij2 --headless --debug
 --jython '$__tool_directory__/imagej2_create_image_jython_script.py'
@@ -22,12 +22,7 @@
 $depth
 '$image_type'
 '$output_name'
-&>'$output_log';
-if [[ $? -ne 0 ]]; then
-    cat '$output_log' >&2;
-else
-    mv '$output_name' '$output';
-fi
+&& mv '$output_name' '$output';
 ]]></command>
     <inputs>
         <expand macro="image_type"/>
@@ -56,7 +51,7 @@
             <param name="height" value="256"/>
             <param name="depth" value="1"/>
             <param name="output_datatype" value="jpg"/>
-            <output name="output" file="create_image1.jpg" ftype="jpg"/>
+            <output name="output" file="create_image1.jpg" ftype="jpg" compare="image_diff"/>
         </test>
     </tests>
     <help>