Skip to content

Commit

Permalink
IsLabelledNewick="true" or "false" ? #172
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Nov 22, 2024
1 parent 8176511 commit 1f84c59
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ public TreeParser valueToBEAST(Value<TimeTree> timeTreeValue, BEASTContext conte

TreeParser tree = new TreeParser();
tree.setInputValue("newick", timeTree.toNewick(false));
// TODO seems IsLabelledNewick="true" causes the trouble when cares internal node index
tree.setInputValue("IsLabelledNewick", true);
// IsLabelledNewick="true" Is the Newick tree labelled (alternatively contains node numbers).
// tree.setInputValue("IsLabelledNewick", false);

TaxonSet taxa = new TaxonSet();
List<Taxon> taxonList = context.createTaxonList(getTaxaNames(timeTree));
Expand Down

0 comments on commit 1f84c59

Please sign in to comment.