diff macros.xml @ 1:74fe58ff55a5 draft default tip

planemo upload for repository https://github.com/HMS-IDAC/UnMicst commit e14f76a8803cab0013c6dbe809bc81d7667f2ab9
author goeckslab
date Wed, 07 Sep 2022 23:10:14 +0000
parents 6bec4fef6b2e
children
line wrap: on
line diff
--- a/macros.xml	Fri Mar 12 00:17:29 2021 +0000
+++ b/macros.xml	Wed Sep 07 23:10:14 2022 +0000
@@ -2,6 +2,8 @@
 <macros>
     <xml name="requirements">
         <requirements>
+            <container type="docker">labsyspharm/unmicst:@TOOL_VERSION@</container>
+            <!--
             <requirement type="package" version="3.7">python</requirement>
             <requirement type="package" version="1.15.0">tensorflow</requirement>
             <requirement type="package" version="1.15.1">tensorflow-estimator</requirement>
@@ -12,17 +14,28 @@
             <requirement type="package" version="2020.7.24">tifffile</requirement>
             <requirement type="package" version="2019.7.2">czifile</requirement>
             <requirement type="package" version="3.2.3">nd2reader</requirement>
+            -->
         </requirements>
     </xml>
 
     <xml name="version_cmd">
-        <version_command>echo @VERSION@</version_command>
+        <version_command>@CMD_BEGIN@ --help</version_command> 
     </xml>
     <xml name="citations">
         <citations>
+            <citation type="doi">10.1101/2021.04.02.438285</citation>
         </citations>
     </xml>
 
-    <token name="@VERSION@">3.1.1</token>
-    <token name="@CMD_BEGIN@">python ${__tool_directory__}/UnMicst.py</token>
+    <token name="@TOOL_VERSION@">2.7.1</token>
+    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@CMD_BEGIN@"><![CDATA[
+    UNMICST_PATH='' &&
+    if [ -f '/app/unmicstWrapper.py' ]; then
+        export UNMICST_PATH='python /app/unmicstWrapper.py';
+    else
+        export UNMICST_PATH='unmicstWrapper.py';
+    fi &&
+    \$UNMICST_PATH
+    ]]></token>
 </macros>