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

Commands that treat empty lists as "all" should return no lists of a query that has zero results is passed #811

Open
cmungall opened this issue Oct 3, 2024 · 0 comments

Comments

@cmungall
Copy link
Collaborator

cmungall commented Oct 3, 2024

In OAK, some commands will treat an empty list as "all"; e.g.

obi relationships

Shows all relationships in the ontology.

This behavior becomes confusing when the user passes a query via the OAK expression language and the query returns zero result. Currently no distinction is made between a zero-extent query result and zero terms passed by the user.

Zero-result queries should be treated differently from no input passed. The former should be treated as the true empty set.

Originally posted by @turbomam in #807 (comment)

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

No branches or pull requests

1 participant