Closed LunaSare closed 3 years ago
Hi @LunaSare!
It looks like it's a bug that comes from OpenTree of life rather than from rotl
. If I call the API directly with your example, I get the same results:
$ curl -X POST https://api.opentreeoflife.org/v3/tnrs/match_names \
-H "content-type:application/json" -d \
'{"names":["Amphibians","Canis"], "do_approximate_matching":true}'
Maybe try to report the issue in their tracker: https://github.com/OpenTreeOfLife/feedback
Thanks!
Thanks so much for looking into this @fmichonneau!
I reported it to Open Tree here https://github.com/OpenTreeOfLife/feedback/issues/528
Hi @fmichonneau!
I am getting different results when running the
tnrs_match_names
with a single vector input and a multiple element vector input.When running it with a single taxa, it works as expected
But when running it with a character vector of multiple taxa, it seems to ignore approximate matching: