-
Notifications
You must be signed in to change notification settings - Fork 3
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: Entries without exact mappings #695
Conversation
54a304c
to
ed9541e
Compare
- The synonym sync template TSVs were being built incorrectly, and were sometimes adding synchronization outputs for cases where the Mondo term and source term had no exact mapping in mondo.sssom.tsv.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming (which I cant see in the diff) that mappings_df
is only exact matches, this LGTM!
Yep! in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mainly approving on Nico's approval here (and a previous discussion where these code changes look like what was needed) since I have not had enough time to look at this and the results in as much detail as I would prefer.
@joeflack4 I'll this for you to merge |
resolves #687
Note
Overview
The synonym sync template TSVs were being built incorrectly, and were sometimes adding synchronization outputs for cases where the Mondo term and source term had no exact mapping in
mondo.sssom.tsv
. The filtering was not being applied correctly.The cause of these appearing in the first place is that these pairs of Mondo+source terms have synonyms on them, but they do not have exact mappings.
Pre-merge checklist
Documentation
Was the documentation added/updated under
docs/
?QC
Was the full pipeline run before submitting this PR using
sh run.sh make build-mondo-ingest
on this branch (afterdocker pull obolibrary/odkfull:dev
), and no errors occurred?Mini-build:
Not a full build yet, but there is a mini-build which compares the only synonym sync outputs before and after.
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?