Skip to content

Wrong OTL ids returned #24

@Adafede

Description

@Adafede

Hi,

I am actually comparing the Open Tree of Life IDs retrieved via GNVerify and via rotl (official Open Tree of Life API).
They give almost identical results (which is good!) but sadly in some cases, they differ.

Here is an example:

echo "Petroselinum crispum" | gnverify -s 179 -f pretty

giving

"recordId": "959097"

where when doing it via rotl (in R):

library(rotl)

name <- "Petroselinum crispum"

tnrs_match_names(
  names = name,
  do_approximate_matching = FALSE,
  include_suppressed = FALSE
)

search_string unique_name approximate_match ott_id is_synonym flags 1 petroselinum crispum Petroselinum crispum FALSE 2485 FALSE number_matches 1 1

Which indeed verifies:

https://tree.opentreeoflife.org/taxonomy/browse?name=2485

vs

https://tree.opentreeoflife.org/taxonomy/browse?name=959097

Thank you again for your wonderful work, hope those issues help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions