is_control=False
always returns no results
#128
Labels
released
This issue/pull request has been released.
is_control=False
always returns no results
#128
Is there an existing issue for this?
Expected Behavior
No response
Current Behavior
is_control=False
no longer work with restriction against unbound variables api#332Since the n-API doesn't have logic yet in the SPARQL query template to filter for non-healthy control subjects only (i.e., subjects without the
nb:hasSubjectGroup
property), we should disallow settingis_control=False
in the f-API as well since at the moment this will always return no matches.Specifically, since PR neurobagel/api#364,
is_control=False
will produce node-level validation errors. We should update this query param in the f-API to also accept (and pass on) strings and do basic validation (since this is a non-intuitive constraint).Error message
No response
Environment
How to reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: