changeset 37:0f66636a3f88 draft

fixed tree-plot file interpretation
author boris
date Fri, 14 Jun 2013 13:38:45 -0400
parents dbf0b3c13dcf
children c340422b78b1
files phylorelatives.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/phylorelatives.py	Fri Jun 14 13:29:36 2013 -0400
+++ b/phylorelatives.py	Fri Jun 14 13:38:45 2013 -0400
@@ -222,7 +222,7 @@
     else:
         newick = open(args.multi_fasta+'-newick.nwk','w+')
     if args.trees_out is not None:
-        tree_plot_file = open(args.trees_out, 'w+')
+        tree_plot_file = args.trees_out
     else:
         #tree_plot_file = open(args.multi_fasta+'-tree-ascii.txt', 'w+')
         tree_plot_file = args.multi_fasta+'-tree.png'