mapping-commons / sssom-py

Python toolkit for SSSOM mapping format
https://mapping-commons.github.io/sssom-py/index.html#
MIT License
49 stars 12 forks source link

Ensure prefix maps is a true bimap #469

Closed matentzn closed 9 months ago

matentzn commented 9 months ago

In the latest release (not necessarily on master, have not checked), duplicate URI prefixes may enter. Write a test that ensures that when an external prefixmap is passed in during parse that overlaps with the internal prefix map, that not both get serialised:

#   Orphanet: http://www.orpha.net/ORDO/Orphanet_
#   orphanet.ordo: http://www.orpha.net/ORDO/Orphanet_
cthoyt commented 9 months ago

Related: https://github.com/biopragmatics/bioregistry/pull/969

matentzn commented 9 months ago

No longer relevant!