changeset 9:fc1225e0752f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 4ae625e3ff1de2034c8d29ad26434f41e3230c2c-dirty
author tduigou
date Fri, 24 Oct 2025 09:48:43 +0000
parents 66708fc9c57c
children
files macros.xml rpextractsink.xml
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Thu Oct 23 14:40:33 2025 +0000
+++ b/macros.xml	Fri Oct 24 09:48:43 2025 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">6.7.1</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">rptools</requirement>
--- a/rpextractsink.xml	Thu Oct 23 14:40:33 2025 +0000
+++ b/rpextractsink.xml	Fri Oct 24 09:48:43 2025 +0000
@@ -9,13 +9,8 @@
         <regex match="Could not retreive any species in the compartment" level="fatal" />
     </stdio>
     <command detect_errors="exit_code"><![CDATA[
-        #import os
-        #if "TMPDIR" in os.environ
-            #set tmpdir=os.environ["TMPDIR"]/rr_cache
-            mkdir -p '$tmpdir' &&
-        #else
-            #set tmpdir="."
-        #end if
+        TMPDIR="\${TMPDIR:-.}/rr_cache" &&
+        mkdir -p "\${TMPDIR}" &&
 
         python -m rptools.rpextractsink
             '$input'
@@ -24,7 +19,7 @@
             $adv.remove_dead_end
             $adv.standalone
             --chemical-space '$adv.datatype'
-            --cache-dir '$tmpdir'
+            --cache-dir "\${TMPDIR}"
     ]]></command>
     <inputs>
         <param name="input" type="data" format="sbml" optional="false" label="Strain"