globalbioticinteractions / nomer

maps identifiers and names to other identifiers and names
GNU General Public License v3.0
19 stars 3 forks source link

suspected flipped synonym relation for discoverlife-taxon matcher [Agapostemon taxanus] synonymOf [Agapostemon cyanozonus] #45

Closed jhpoelen closed 3 years ago

jhpoelen commented 3 years ago

expected:

echo -e "\tAgapostemon cyanozonus" | nomer append discoverlife-taxon

to produce something like:

Agapostemon cyanozonus synonym_of Agapostemon texanus .

Actual: echo -e "\tAgapostemon cyanozonus" | nomer append discoverlife-taxon has no matches.

And,

when running echo -e "\tAgapostemon taxanus" | nomer append discoverlife-taxon

the name Agapostemon taxanus is (incorrectly) listed as a synonym of Agapostemon cyanozonus .

jhpoelen commented 3 years ago

After fix, I found the results:

$ echo -e '\tAgapostemon texanus' | nomer append discoverlife-taxon
using matcher [discoverlife-taxon]
DiscoverLife name indexing started...
[50590] DiscoverLife names were indexed in 18s (@ 2810 names/s)
    Agapostemon texanus HAS_ACCEPTED_NAME   https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  Agapostemon texanus species     Animalia | Arthropoda | Insecta | Hymenoptera | Halictidae | Agapostemon texanushttps://www.discoverlife.org/mp/20q?search=Animalia | https://www.discoverlife.org/mp/20q?search=Arthropoda | https://www.discoverlife.org/mp/20q?search=Insecta | https://www.discoverlife.org/mp/20q?search=Hymenoptera | https://www.discoverlife.org/mp/20q?search=Halictidae | https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  kingdom | phylum | class | order | family | species https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  

and expected relation:

$ echo -e '\tAgapostemon cyanozonus' | nomer append discoverlife-taxon
using matcher [discoverlife-taxon]
    Agapostemon cyanozonus  SYNONYM_OF  https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  Agapostemon texanus species     Animalia | Arthropoda | Insecta | Hymenoptera | Halictidae | Agapostemon texanus    https://www.discoverlife.org/mp/20q?search=Animalia | https://www.discoverlife.org/mp/20q?search=Arthropoda | https://www.discoverlife.org/mp/20q?search=Insecta | https://www.discoverlife.org/mp/20q?search=Hymenoptera | https://www.discoverlife.org/mp/20q?search=Halictidae | https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  kingdom | phylum | class | order | family | species https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  
jhpoelen commented 3 years ago

Changes are included in https://github.com/globalbioticinteractions/nomer/releases/tag/0.2.4 .

@seltmann please confirm that you can reproduce results:

After fix, I found the results:

$ echo -e '\tAgapostemon texanus' | nomer append discoverlife-taxon
using matcher [discoverlife-taxon]
DiscoverLife name indexing started...
[50590] DiscoverLife names were indexed in 18s (@ 2810 names/s)
    Agapostemon texanus HAS_ACCEPTED_NAME   https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  Agapostemon texanus species     Animalia | Arthropoda | Insecta | Hymenoptera | Halictidae | Agapostemon texanushttps://www.discoverlife.org/mp/20q?search=Animalia | https://www.discoverlife.org/mp/20q?search=Arthropoda | https://www.discoverlife.org/mp/20q?search=Insecta | https://www.discoverlife.org/mp/20q?search=Hymenoptera | https://www.discoverlife.org/mp/20q?search=Halictidae | https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  kingdom | phylum | class | order | family | species https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  

and expected relation:

$ echo -e '\tAgapostemon cyanozonus' | nomer append discoverlife-taxon
using matcher [discoverlife-taxon]
    Agapostemon cyanozonus  SYNONYM_OF  https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  Agapostemon texanus species     Animalia | Arthropoda | Insecta | Hymenoptera | Halictidae | Agapostemon texanus    https://www.discoverlife.org/mp/20q?search=Animalia | https://www.discoverlife.org/mp/20q?search=Arthropoda | https://www.discoverlife.org/mp/20q?search=Insecta | https://www.discoverlife.org/mp/20q?search=Hymenoptera | https://www.discoverlife.org/mp/20q?search=Halictidae | https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  kingdom | phylum | class | order | family | species https://www.discoverlife.org/mp/20q?search=Agapostemon+texanus  
jhpoelen commented 3 years ago

@seltmann closing issue - please re-open if issues remain.