changeset 4:c9b1bbe7bdac draft

Fixed if-statement and improved the version command.
author yhoogstrate
date Thu, 02 Apr 2015 08:16:45 -0400
parents f06461883f7b
children fb762ef764a9
files fuma.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/fuma.xml	Thu Apr 02 08:06:04 2015 -0400
+++ b/fuma.xml	Thu Apr 02 08:16:45 2015 -0400
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<tool id="fuma" name="FuMa" version="2.7.1.a">
+<tool id="fuma" name="FuMa" version="2.7.1.b">
 	<description>FuMa (FusionMatcher) matches detected fusion genes based on gene name subset matching (designed in particular for RNA-Seq).</description>
 	
 	<requirements>
 		<requirement type="package" version="2.7.1">fuma</requirement>
 	</requirements>
 	
-	<version_command>fuma --version</version_command><!-- -V also works, but is not GNU standard -->
+	<version_command>fuma --version 2>&amp;1 | head -n 1</version_command><!-- -V also works, but is not GNU standard -->
 	
 	<command>
 		#import pipes
@@ -36,10 +36,10 @@
 		    $samples_str
 		  -l
 		    $links_str
-		#if $output_format == "list_boolean"
+		#if $output_format.value == "list_boolean"
 		  -f list
 		#else
-		  -f $output_format
+		  -f $output_format.value
 		#end if
 		  -o $fuma_overview ;