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

Improve filtering of duplicates #112

Merged
merged 2 commits into from
May 10, 2023
Merged

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Apr 4, 2023

This improves the function filter_out_duplicates by not only considering the "status" of the term, but now additionally if the source of the term matches the db (meaning it's a first party data). This is useful for me while working on combining multiple resources via xrefs.

It also externalizes the key functions for better readability.

@bgyori bgyori force-pushed the duplicate-filter branch from b2c57b8 to c543197 Compare May 10, 2023 17:45
@bgyori bgyori merged commit b677bb1 into gyorilab:master May 10, 2023
@cthoyt cthoyt deleted the duplicate-filter branch May 25, 2023 11:23
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