Closed jhpoelen closed 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
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
@seltmann closing issue - please re-open if issues remain.
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 .