-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do we need to lowercase the string provided by user in tnrs_match_names? #106
Comments
Hmm. I think so? @jar398 should know. Maybe even @jimallman. |
I don't know what https://github.com/OpenTreeOfLife/opentree/wiki/Open-Tree-of-Life-APIs#match_names |
Yes, I believe the concern is with the "search_string" : "aster",
"matched_name" : "Aster", ... since I'm not seeing lower-case text anywhere else. It looks like search text is always forced to lower-case by taxomachine's MultiNameContextQuery. EDIT TO ADD: Just to connect the dots, here's the chain of calls that led me here: https://github.com/OpenTreeOfLife/pyopentree/blob/master/pyopentree/opentreeservice.py#L532-L534 |
Thanks @jimallman! |
tnrs_match_names
lowercases the string provided by the user in the results, do we need to do this?The text was updated successfully, but these errors were encountered: