changeset 19:c1017fb6bb0d draft

Uploaded
author bornea
date Thu, 14 Apr 2016 16:28:43 -0400
parents 7d59acf99322
children 3555f2c0d325
files ProHits_DotPlot_Generator.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ProHits_DotPlot_Generator.py	Thu Apr 14 16:24:21 2016 -0400
+++ b/ProHits_DotPlot_Generator.py	Thu Apr 14 16:28:43 2016 -0400
@@ -28,7 +28,9 @@
 FDR1 = sys.argv[2]
 FDR2 = sys.argv[3]
 spec_max = sys.argv[4]
-os.rename(sys.argv[1], "saint_input.txt")
+file_name = sys.argv[1]
+input_file = file_name.split("/")[-1]
+os.rename(input_file, "saint_input.txt")
 ins_path = sys.argv[9]
 
 dirs_list = []