niworkflows icon indicating copy to clipboard operation
niworkflows copied to clipboard

`niworkflows.utils.bids.collect_data` should drop unnecessary filters

Open oesteban opened this issue 2 months ago • 0 comments

What happened?

Comes from nipreps/mriqc#1261.

When a filter is given (e.g.: {'pet': {'session': '15'}} but there's no query for 'pet' as a suffix, then collect_data fails.

It would be easy to pick only the filters that apply to the queries.

What command did you use?

mriqc

What version of the software are you running?

master

How are you running this software?

Local installation ("bare-metal")

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

No response

Additional information / screenshots

No response

oesteban avatar Apr 11 '24 14:04 oesteban