Skip to content
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

sometimes col returns names as synonyms of themselves #193

Open
zygoballus opened this issue Oct 17, 2024 · 0 comments
Open

sometimes col returns names as synonyms of themselves #193

zygoballus opened this issue Oct 17, 2024 · 0 comments

Comments

@zygoballus
Copy link

zygoballus commented Oct 17, 2024

echo -e "\tAraneus diadematus" | nomer append col
gives:

	Araneus diadematus	SYNONYM_OF	COL:G59D	Araneus diadematus	Clerck, 1757	species		Biota | Animalia | Arthropoda | Arachnida | Araneae | Araneidae | Araneus | Araneus diadematus	COL:5T6MX | COL:N | COL:RT | COL:RC | COL:RN | COL:6MF | COL:ZQT | COL:G59D	unranked | kingdom | phylum | subclass | order | family | genus | species	|  |  |  |  |  |  | Clerck, 1757	https://www.catalogueoflife.org/data/taxon/G59D
	Araneus diadematus	HAS_ACCEPTED_NAME	COL:G59D	Araneus diadematus	Clerck, 1757	species		Biota | Animalia | Arthropoda | Arachnida | Araneae | Araneidae | Araneus | Araneus diadematus	COL:5T6MX | COL:N | COL:RT | COL:RC | COL:RN | COL:6MF | COL:ZQT | COL:G59D	unranked | kingdom | phylum | subclass | order | family | genus | species	|  |  |  |  |  |  | Clerck, 1757	https://www.catalogueoflife.org/data/taxon/G59D

And
echo -e "\tAraniella cucurbitina" | nomer append col
gives:

	Araniella cucurbitina	SYNONYM_OF	COL:G5R4	Araniella cucurbitina	(Clerck, 1757)	species		Biota | Animalia | Arthropoda | Arachnida | Araneae | Araneidae | Araniella | Araniella cucurbitina	COL:5T6MX | COL:N | COL:RT | COL:RC | COL:RN | COL:6MF | COL:ZQW | COL:G5R4	unranked | kingdom | phylum | subclass | order | family | genus | species	|  |  |  |  |  |  | (Clerck, 1757)	https://www.catalogueoflife.org/data/taxon/G5R4
	Araniella cucurbitina	HAS_ACCEPTED_NAME	COL:G5R4	Araniella cucurbitina	(Clerck, 1757)	species		Biota | Animalia | Arthropoda | Arachnida | Araneae | Araneidae | Araniella | Araniella cucurbitina	COL:5T6MX | COL:N | COL:RT | COL:RC | COL:RN | COL:6MF | COL:ZQW | COL:G5R4	unranked | kingdom | phylum | subclass | order | family | genus | species	|  |  |  |  |  |  | (Clerck, 1757)	https://www.catalogueoflife.org/data/taxon/G5R4

Here are the corresponding entries at COL:
https://www.catalogueoflife.org/data/taxon/G59D
https://www.catalogueoflife.org/data/taxon/G5R4
This is actually technically correct. For example, Araniella cucurbitina (Linnaeus, 1758) is a synonym (loosely defined) of Araniella cucurbitina (Clerck, 1757), but this is not presented in the output in a way that is understandable (since the first authority string isn't given). And regardless it probably isn't helpful for any of the use cases of nomer (since nomer is supposed to map names to "other names"). It would probably be best to just filter out these types of synonyms from the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant