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

Added support for multitype filtering #158

Merged
merged 5 commits into from
Aug 28, 2024
Merged

Conversation

gaurav
Copy link
Contributor

@gaurav gaurav commented Aug 28, 2024

This PR adds support for multitype filtering without changing the API: you can continue to use biolink_type=Disease if you want to filter with a single Biolink type, but you can also specify biolink_type=Disease&biolink_type=PhenotypicFeature if you want to find concepts that are EITHER (not both) biolink:Disease or biolink:PhenotypicFeature.

Closes #157.

@gaurav gaurav merged commit a68af99 into master Aug 28, 2024
1 check passed
@gaurav gaurav deleted the support-multitype-filtering branch August 28, 2024 23:46
gaurav added a commit that referenced this pull request Aug 30, 2024
The previous PR (#158) introduced a bug that could be triggered by sending biolink_type='' to NameRes. This PR fixes that issue, and adds a test for this to the test suite.
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.

Allow specifying multiple Biolink types when filtering
1 participant