Repository 'prohits_dotplot_generator'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/prohits_dotplot_generator

Changeset 19:c1017fb6bb0d (2016-04-14)
Previous changeset 18:7d59acf99322 (2016-04-14) Next changeset 20:3555f2c0d325 (2016-04-14)
Commit message:
Uploaded
modified:
ProHits_DotPlot_Generator.py
b
diff -r 7d59acf99322 -r c1017fb6bb0d ProHits_DotPlot_Generator.py
--- 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 = []