OpenTreeOfLife / phylesystem-api

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

Missing line break in Nexus file #217

Open josephwb opened 7 years ago

josephwb commented 7 years ago

Tried to download trees for study ot_502 (which has two trees). The newick call obviously returned two trees:

curl https://api.opentreeoflife.org/v3/study/ot_502.tre/?tip_label=ot:ottid

but the Nexus call:

curl https://api.opentreeoflife.org/v3/study/ot_502.nex/?tip_label=ot:ottid

seemed to contain only one. Thanks to help by @kcranston it appears that the Nexus version is just missing a line break in between the two trees.

josephwb commented 7 years ago

This also occurs (unsurprisingly) from the curator app (although I do not know if anyone actually gets trees through that route).