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

Add mechanism for filtering non-W3C-compliant CURIE prefix synonyms #1450

Merged
merged 5 commits into from
Mar 7, 2025

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Mar 7, 2025

Closes #1338

This PR adds enforce_w3c flag to a Bioregistry context, which when turned on, filters out CURIE prefix synoynms that don't match the W3C regex for NCNAME.

@matentzn this PR also turns this flag on for the OBO context. Can you review that you're happy with the results?

Copy link
Collaborator

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES this is amazing!!

@cthoyt cthoyt merged commit 9fc99c8 into main Mar 7, 2025
12 checks passed
@cthoyt cthoyt deleted the enforce-w3c-epms branch March 7, 2025 23:51
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

Successfully merging this pull request may close these issues.

Prefix with space character?
2 participants