diff macros.xml @ 1:57f1260ca94e draft

"planemo upload commit fec9dc76b3dd17b14b02c2f04be9d30f71eba1ae"
author watsocam
date Fri, 11 Mar 2022 23:40:51 +0000
parents 99308601eaa6
children 224e0cf4aaeb
line wrap: on
line diff
--- a/macros.xml	Wed May 19 21:34:38 2021 +0000
+++ b/macros.xml	Fri Mar 11 23:40:51 2022 +0000
@@ -24,6 +24,13 @@
         </citations>
     </xml>
 
-    <token name="@VERSION@">2.2.0</token>
-    <token name="@CMD_BEGIN@">python ${__tool_directory__}/UNetCoreograph.py</token>
+    <token name="@VERSION@">2.2.8</token>
+    <token name="@CMD_BEGIN@"><![CDATA[
+    UNET_PATH="";
+    if [ -f "/app/UNetCoreograph.py" ]; then
+        export UNET_PATH="/app/UNetCoreograph.py";
+    else
+        export UNET_PATH="${__tool_directory__}/UNetCoreograph.py";
+    fi;
+    ]]></token>
 </macros>