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

Bug fix: Synonym sync exclusions #747

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

joeflack4
Copy link
Contributor

@joeflack4 joeflack4 commented Jan 12, 2025

Overview

The exclusions were only excluding on matching scope. Now, they will exclude any instance of a synonym for a given mondo_id, regardless of scope, so long as they are in the exclusion config.

Pre-merge checklist

Documentation

Was the documentation added/updated under docs/?

  • Yes
  • No, updates to the docs were not necessary after careful consideration

QC

Was the full pipeline run before submitting this PR using sh run.sh make build-mondo-ingest on this branch (after
docker pull obolibrary/odkfull:dev), and no errors occurred?

Mini build:

New Packages

Were any new Python packages added?

Were any other non-Python packages added?

PR Review and Conversations Resolved

Has the PR been sufficiently reviewed by at least 1 team member of the Mondo Technical team and all threads resolved?

  • Yes

- The exclusions were only excluding on matching scope. Now, they will exclude any instance of a synonym for a given mondo_id, regardless of scope, so long as they are in the exclusion config.
@joeflack4
Copy link
Contributor Author

See: results from applying on mondo-edit.obo:

@joeflack4
Copy link
Contributor Author

joeflack4 commented Jan 21, 2025

@twhetzel I know you are out, but if you run the builds this week, we need to merge this first right? I see you approved related PR:

And we'd also want to merge this which fixes the other QC failures:

Copy link
Contributor

@twhetzel twhetzel left a comment

Choose a reason for hiding this comment

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

The results of this code change look good in monarch-initiative/mondo#8562 and this is correct that any synonym in Mondo with the EXCLUDE annotation should be excluded in the Synonym Sync regardless of the synonym scope designation between what's in Mondo and the annotation in the external source ontology.

@joeflack4 joeflack4 merged commit c2f7530 into develop Jan 21, 2025
@joeflack4 joeflack4 deleted the bugfix-syn-sync-exclusions branch January 21, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants