OpenTreeOfLife / phylesystem-api

API access to Open Tree of Life treestore
BSD 2-Clause "Simplified" License
9 stars 5 forks source link

Unexpected values for branchLength* for trees with no branch lengths #209

Open josephwb opened 7 years ago

josephwb commented 7 years ago

This is what I get from an otindex response for a tree that has no edge lengths:

...
"ot:branchLengthDescription": "",
"ot:branchLengthMode": "ot:undefined",
...

It seems like the tree might(?) have edge lengths, but the flavour has just not been specified. I was expecting something like "absent" or "NA" (although the former is more explicit, I think).