Skip to content

sometimes col returns names as synonyms of themselves #193

@zygoballus

Description

@zygoballus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions