We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35dd10e commit f26724dCopy full SHA for f26724d
niworkflows/utils/bids.py
@@ -29,6 +29,7 @@
29
30
from bids import BIDSLayout
31
from bids.layout import Query
32
+from bids.utils import listify
33
from packaging.version import Version
34
35
DEFAULT_BIDS_QUERIES = {
@@ -256,7 +257,7 @@ def collect_data(
256
257
for acq, entities in bids_filters.items():
258
# BIDS filters will not be able to override subject / session entities
259
for entity, param in reserved_entities:
- if entity in entities and param != entities[entity]:
260
+ if entity in entities and listify(param) != listify(entities[entity]):
261
raise ValueError(
262
f'Conflicting entities for "{entity}" found: {entities[entity]} // {param}'
263
)
0 commit comments