changeset 7:1b76c07c3156 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:46:35 +0000
parents 64ccaeec8554
children
files macros.xml rpcompletion.xml
diffstat 2 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Thu Oct 23 14:39:36 2025 +0000
+++ b/macros.xml	Fri Oct 24 09:46:35 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/rpcompletion.xml	Thu Oct 23 14:39:36 2025 +0000
+++ b/rpcompletion.xml	Fri Oct 24 09:46:35 2025 +0000
@@ -13,14 +13,8 @@
             description="The sink file is empty or not found" />
     </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}" &&
         #if str($sink.cond) == 'empty'
             echo '"Name","InChI"' > empty_sink.csv &&
             #set sinkfile='empty_sink.csv'
@@ -44,7 +38,7 @@
             #if not $sink.error_codes
                 --silent
             #end if
-            --cache-dir '$tmpdir'
+            --cache-dir "\${TMPDIR}"
     ]]></command>
     <inputs>
         <param name="rp2paths_pathways" type="data" format="csv" label="RP2paths pathways" />