changeset 21:cfac73f960c8 draft

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