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

For #2360 - Updated to handle DBs without id syntax pattern #692

Merged

Conversation

mugitty
Copy link
Collaborator

@mugitty mugitty commented Sep 6, 2024

No description provided.

@dustine32
Copy link
Collaborator

Linking to geneontology/go-site#2360

Copy link
Collaborator

@dustine32 dustine32 left a comment

Choose a reason for hiding this comment

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

@mugitty Ok, sorry this took so long for me to debug (thanks PyCharm!) and understand but I think this is good.

Basically, this now allows any prefix that's in dbxrefs.yaml to be a valid ID if it doesn't have any special ID syntax patterns. Whereas before, identity_matches_pattern would be False and attempting to iterate an empty dictionary of type_name_regex_patterns would be unable to set identity_matches_pattern to True, causing the ID to be considered invalid.

@mugitty
Copy link
Collaborator Author

mugitty commented Sep 12, 2024

@dustine32, previously any db-xref's without id_syntax specifier were being flagged as being invalid. This update will permit db-xrefs without id_syntax specifier

@mugitty mugitty merged commit 568a2bd into master Sep 12, 2024
2 checks passed
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.

2 participants