You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
In PyBIDS we have the idea of layout.get(desc=Query.REQUIRED) (where desc is an arbitrarily selected entity) that indicates that any non-null value is permitted. Query.OPTIONAL permits the value to be present or absent. Query.NONE only matches files do not have that entity.
These queries should be translated to ANCP equivalents.
The text was updated successfully, but these errors were encountered:
This is already (partially) implemented in the query language expressions, but need to be reflected in the BIDSLayout.get() docs:
filters : dict
Any optional key/values to filter the entities on.
Keys are entity names, values are regexes to filter on. For
example, passing filters={'subject': 'sub-[12]'} would return
only files that match the first two subjects. In addition to
ordinary data types, the following values are defined:
* None: The named entity must not be defined.
* '*': the named entity must be defined, but can have any value.
What is missing is Query.REQUIRED, though there might be semantic overlap with Query.OPTIONAL:
In PyBIDS we have the idea of
layout.get(desc=Query.REQUIRED)
(wheredesc
is an arbitrarily selected entity) that indicates that any non-null value is permitted.Query.OPTIONAL
permits the value to be present or absent.Query.NONE
only matches files do not have that entity.These queries should be translated to ANCP equivalents.
The text was updated successfully, but these errors were encountered: