changeset 2:4f43e11fb3c9 draft

planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/vitessce commit a6714d257c45c11d999c7cc2241c89da193cae15
author goeckslab
date Fri, 10 May 2024 17:21:19 +0000
parents 4bf852448b5d
children 7cc457aa78b1
files main_macros.xml
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main_macros.xml	Wed Feb 28 20:52:55 2024 +0000
+++ b/main_macros.xml	Fri May 10 17:21:19 2024 +0000
@@ -1,11 +1,11 @@
 <macros>
     <token name="@TOOL_VERSION@">1.0.4</token>
-    <token name="@VERSION_SUFFIX@">3</token>
+    <token name="@VERSION_SUFFIX@">4</token>
     <token name="@PROFILE@">20.01</token>
 
     <xml name="vitessce_requirements">
         <requirements>
-            <container type="docker">quay.io/goeckslab/vitessce:@TOOL_VERSION@</container>
+            <container type="docker">quay.io/goeckslab/vitessce:@TOOL_VERSION@v2</container>
         </requirements>
     </xml>
 
@@ -18,7 +18,8 @@
     <xml name="vitessce_cmd" token_tool_id="vitessce_spatial">
         <command detect_errors="aggressive">
         <![CDATA[
-        export BF_MAX_MEM="\${GALAXY_MEMORY_MB}m" &&
+        MAX_MEM=\${GALAXY_MEMORY_MB:-2000} &&
+        export BF_MAX_MEM="\$((\$MAX_MEM/2))m" &&
         mkdir -p '${output.files_path}/A/0' &&
         ln -sf '$image' '${output.files_path}/A/0/image01.ome.tiff' &&
         #if $masks