# HG changeset patch
# User Nate Coraor <nate@bx.psu.edu>
# Date 1389896059 18000
# Node ID 5543c3d33e26af49a29f7a724a249114f3df6fc2
# Parent  25b0f2f2c506250d77c5d2802cd842d75393327c
Convert tool to use $GALAXY_SLOTS if available.

diff -r 25b0f2f2c506 -r 5543c3d33e26 cuffmerge_wrapper.xml
--- a/cuffmerge_wrapper.xml	Thu Jan 09 14:28:28 2014 -0500
+++ b/cuffmerge_wrapper.xml	Thu Jan 16 13:14:19 2014 -0500
@@ -7,7 +7,7 @@
     <command interpreter="python">
         cuffmerge_wrapper.py
         
-            --num-threads="4"
+            --num-threads="\${GALAXY_SLOTS:-4}"
             
             ## Use annotation reference?
             #if $annotation.use_ref_annotation == "Yes":