# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User anton@grusha.bx.psu.edu # Date 1289920626 18000 # Node ID 33dacaafc62eac4a8940c4bc978da1d1a6c68af9 # Parent 94c2040e58255136741d776de8401cfb4128133b Change in output redirect. Should fix drawing phylogeny bug. Thanks Nate for pointing this out. --- a/tools/taxonomy/t2ps_wrapper.py +++ b/tools/taxonomy/t2ps_wrapper.py @@ -38,7 +38,7 @@ ps_file = tempfile.NamedTemporaryFile('w # Execute taxonomy2tree try: - t2t_cmd = 'taxonomy2tree %s %s %s /dev/null 1 &> /dev/null' % ( tree_file, max_tree_level, newick_file.name ) + t2t_cmd = 'taxonomy2tree %s %s %s /dev/null 1 > /dev/null 2>&1' % ( tree_file, max_tree_level, newick_file.name ) retcode = subprocess.call( t2t_cmd, shell=True ) if retcode < 0: print >>sys.stderr, "Execution of taxonomy2tree terminated by signal", -retcode