ArtPoon / kamphir

Phylogenetic inference using a tree-shape kernel in an Approximate Bayesian Computation framework
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Stop if a non-ultrametric tree is passed without delimiter+position #41

Open rmcclosk opened 9 years ago

rmcclosk commented 9 years ago

Currently, all the tips heights are set to zero, silently, if no delimeter/position arguments are provided. Instead, we should check if the target tree is ultrametric, and if not, exit with an error. Or, we could just read the depths from the tree directly.