changeset 64:783e6ed4eb66

Minor bug correction. Added casts to str in Galaxy XML files. Also closed the writer in the Python script "changeTagName."
author m-zytnicki
date Mon, 19 Oct 2015 14:16:44 +0200
parents 5f210bc9f486
children 090709ab81d1
files SMART/Java/Python/changeTagName.py SMART/galaxy/CompareOverlappingAdapt.xml SMART/galaxy/CompareOverlappingSmallQuery.xml SMART/galaxy/CompareOverlappingSmallRef.xml
diffstat 4 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/SMART/Java/Python/changeTagName.py	Mon Oct 19 12:02:29 2015 +0200
+++ b/SMART/Java/Python/changeTagName.py	Mon Oct 19 14:16:44 2015 +0200
@@ -83,6 +83,7 @@
     parser.transcriptListParser.close()
 
     writer.write()
+    writer.close()
 
     if options.mysql:
         mysqlWriter.write()
--- a/SMART/galaxy/CompareOverlappingAdapt.xml	Mon Oct 19 12:02:29 2015 +0200
+++ b/SMART/galaxy/CompareOverlappingAdapt.xml	Mon Oct 19 14:16:44 2015 +0200
@@ -8,9 +8,9 @@
 		#if $OptionDistance.Dist == 'Yes':
 			-d $OptionDistance.distance
 		#end if
-		#if $OptionCA == 'Collinear':
+		#if str($OptionCA) == 'Collinear':
 			-c 
-		#elif $OptionCA == 'AntiSense':
+		#elif str($OptionCA) == 'AntiSense':
 			-a
 		#end if	
 	</command>
--- a/SMART/galaxy/CompareOverlappingSmallQuery.xml	Mon Oct 19 12:02:29 2015 +0200
+++ b/SMART/galaxy/CompareOverlappingSmallQuery.xml	Mon Oct 19 14:16:44 2015 +0200
@@ -14,9 +14,9 @@
 		#if $OptionPcOverlapRef.present == 'Yes':
 			-P $OptionPcOverlapRef.minOverlap
 		#end if
-		#if $OptionCA == 'Collinear':
+		#if str($OptionCA) == 'Collinear':
 			-c 
-		#elif $OptionCA == 'AntiSense':
+		#elif str($OptionCA) == 'AntiSense':
 			-a
 		#end if	
 	</command>
--- a/SMART/galaxy/CompareOverlappingSmallRef.xml	Mon Oct 19 12:02:29 2015 +0200
+++ b/SMART/galaxy/CompareOverlappingSmallRef.xml	Mon Oct 19 14:16:44 2015 +0200
@@ -14,9 +14,9 @@
 		#if $OptionPcOverlapRef.present == 'Yes':
 			-P $OptionPcOverlapRef.minOverlap
 		#end if
-		#if $OptionCA == 'Collinear':
+		#if str($OptionCA) == 'Collinear':
 			-c 
-		#elif $OptionCA == 'AntiSense':
+		#elif str($OptionCA) == 'AntiSense':
 			-a
 		#end if	
 	</command>