changeset 23:0ef7736004bb draft

Use of galaxy variable to control number of threads.
author jtilman
date Tue, 28 Jan 2014 08:43:41 -0500
parents 12e4b3bb38c6
children 2720f5e37286
files flexbar.xml
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/flexbar.xml	Tue Aug 06 16:49:33 2013 +0200
+++ b/flexbar.xml	Tue Jan 28 08:43:41 2014 -0500
@@ -17,7 +17,7 @@
 		
 		flexbar.pl flexbar
 		
-		--threads $threads
+		--threads \${GALAXY_SLOTS:-1}
 		
 		--reads $reads
 		
@@ -412,15 +412,9 @@
 				</param>
 			</when>
 		</conditional>
-
-		<param name="threads" type="select" label="Threads" help="check availability of cores">
-		    <option value="1" selected="true">1</option>
-		    <option value="2">2</option>
-			<option value="4">4</option>
-		</param>
 		
   	</inputs>
- 	
+	
 	<stdio>
 	    <exit_code range="1:" level="fatal" description="Error!" />
 	</stdio>