changeset 1:bc099c440016 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit b33d814384657d9ff2357f86529e9cad49a6c2f9
author recetox
date Tue, 27 Feb 2024 16:20:31 +0000
parents bf836aaeca19
children b566b27247f7
files qcxms_prod_run.xml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/qcxms_prod_run.xml	Thu Feb 22 08:41:32 2024 +0000
+++ b/qcxms_prod_run.xml	Tue Feb 27 16:20:31 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="qcxms_production_run" name="QCxMS production run" version="@TOOL_VERSION@+galaxy0" profile="21.05">
+<tool id="qcxms_production_run" name="QCxMS production run" version="@TOOL_VERSION@+galaxy1" profile="21.05">
     <description>Production run to obtain a QCxMS simulated mass spectrum</description>
     
     <macros>
@@ -10,7 +10,7 @@
 
     <command detect_errors="exit_code"><![CDATA[
         python3 '${create_folder_structure}' &&
-        find TMPQCXMS/*/ -type d | xargs -I {} -P ${GALAXY_SLOTS} sh -c 'cd {} && /qcxms_bin/qcxms --prod >> $log' &&
+        find TMPQCXMS/*/ -type d | xargs -I {} -P \${GALAXY_SLOTS:-1} sh -c 'cd {} && /qcxms_bin/qcxms --prod >> $log' &&
         /qcxms_bin/getres &&
         /plotms_bin/PlotMS.v.6.2.0/plotms &&
         sh ${__tool_directory__}/msp_out.sh
@@ -84,4 +84,4 @@
         <citation type="doi">10.1255/ejms.1313</citation>
         <citation type="doi">10.1021/acs.jpca.6b02907</citation>
     </citations>
-</tool>
\ No newline at end of file
+</tool>