Closed rossmounce closed 8 years ago
Tricky one. Taxonlookup is built around the one-to-one genus-to-family (Linnean) mapping, and I think the fact that TPL has the same genera in different families has to be seen as a bug in their database.
Moreover, the package only distributes a genus-to-family lookup, so there isn't any technical way to get Pleuridium algesiriense and Pleuridium acuminatum to show up in different families.
Given that the whole package is constrained to follow proper Linnean rules, right now this is the behavior for dealing with issues with when TPL doesn't follow those rules:
The full list of genus--family pairs that get dropped based on this is here.
Happy to change this behavior if there is another option that makes more sense.
BTW, most of these are problems with Bryophytes, and in the medium term, I'd like to solve most of these problems by moving the bryophytes to a new classification which seems to be a bit more rigorous on these issues (see #15), but that's waiting for their latest revision and is probably not going to happen fast.
Thanks for the fantastic answer. I think what you've done here is exactly what is needed: one-to-one genus-to-family (Linnean) mapping!
Cool. Should probably move this info to the documentation at some point...
moved to documentation..
According to the TPL1.1. website I'm seeing that several 'accepted' Bryophyte genera are in two different families e.g.
Pleuridium, Mnium, Micromitrium, Mastigophora, Lamprophyllum, Hypopterygium
For a really specific individual 2 species example:
Pleuridium algesiriense appears to be in Archidiaceae http://www.theplantlist.org/1.1/browse/B/Archidiaceae/Pleuridium/
whilst
Pleuridium acuminatum appears to be in Ditrichaceae http://www.theplantlist.org/1.1/browse/B/Ditrichaceae/Pleuridium/
This isn't reflected in
taxonlookup
output (see below, both are given as Ditrichaceae). How did you decide which is the winning family?Happy you've done this (it's more phylogenetically-sane), but it perhaps needs documentation/justification (if it was deliberate?). If I missed it, please just point me to it.