diff phylorelatives.py @ 37:0f66636a3f88 draft

fixed tree-plot file interpretation
author boris
date Fri, 14 Jun 2013 13:38:45 -0400
parents 015d1fb47ec4
children 369f0b641498
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'