changeset 3:ccf77a06a46e draft

Changed python code to put assembly name in the output file
author jpetteng
date Fri, 08 Dec 2017 09:51:02 -0500
parents f020afe9e4b7
children a9ce62479e43
files btyper-2.0.3/btyper
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/btyper-2.0.3/btyper	Fri Dec 08 09:50:34 2017 -0500
+++ b/btyper-2.0.3/btyper	Fri Dec 08 09:51:02 2017 -0500
@@ -186,7 +186,7 @@
 		finalfile_string=key.strip()+"_final_results.txt"
 		if not os.path.isfile(oarg+"btyper_final_results/"+finalfile_string):
 			finalfile=open(oarg+"btyper_final_results/"+finalfile_string,"a")
-			print >> finalfile, "BTyper Results for "+key
+			print >> finalfile, "BTyper Results for "+os.path.basename(iarg)
 			print >> finalfile, ""
 			finalfile.close()
 		if not os.path.isdir(oarg+"btyper_final_results/genefiles"):