Skip to content

Commit

Permalink
IO: increase branch length precision
Browse files Browse the repository at this point in the history
  • Loading branch information
rneher committed Aug 11, 2024
1 parent a96cbf0 commit d328187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treetime/CLI_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def export_sequences_and_tree(tt, basename, is_vcf=False, zero_based=False,
mutations_out.close()

# write tree to file
fmt_bl = "%1.6f" if tt.data.full_length<1e6 else "%1.8e"
fmt_bl = "%1.7f" if tt.data.full_length<1e6 else "%1.9e"
if timetree:
outtree_name = basename + f'timetree{tree_suffix}.nexus'
print("--- saved divergence times in \n\t %s\n"%dates_fname)
Expand Down

0 comments on commit d328187

Please sign in to comment.