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

Fix synonym uniquification #171

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Fix synonym uniquification #171

merged 1 commit into from
Jul 25, 2023

Conversation

gaurav
Copy link
Collaborator

@gaurav gaurav commented Jul 24, 2023

We sometimes get duplicate synonyms in the output, which I've realized is because synonym_factory.get_synonyms() only ensures that (relation, synonym) tuples are unique. I've added a set() to ensure that the actual synonyms are unique, too. (Split off from PR #165).

Should be merged after PR #166.

@gaurav gaurav changed the base branch from master to fix-ncbi-gene-dash-synonym July 24, 2023 20:25
@gaurav gaurav marked this pull request as ready for review July 24, 2023 20:25
@gaurav gaurav requested a review from cbizon July 24, 2023 20:26
Base automatically changed from fix-ncbi-gene-dash-synonym to master July 25, 2023 03:08
@gaurav gaurav merged commit b98e26a into master Jul 25, 2023
@gaurav gaurav deleted the fix-synonym-uniquification branch July 25, 2023 03:09
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