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
Currently, Niviz attempts to extract BIDS entities for every input into the filespecs: args.
However, this is inappropriate for plot config options and standard paths (i.e MNI templates) where we do not expect BIDS entities at all.
Currently, extract_bids_entities runs on all inputs and checks if any entities are defined, these are of two types:
dynamic entities that are pulled from filepaths
static entities that are to be shared (i.e defining a desc for an output SVG)
If neither dynamic or static entities are defined then extract_bids_entities will raise an error. Which is problematic because if no static entities are defined in the YAML, then nonpath items will always fail.
This should be remediated so that BIDS entities aren't checked for non-path args. Note that this may break things down the line, but we'll discover them as we go :)
Where to look
config.py:FileSpec.gen_args
The text was updated successfully, but these errors were encountered:
Currently, Niviz attempts to extract BIDS entities for every input into the
filespecs: args
.However, this is inappropriate for plot config options and standard paths (i.e MNI templates) where we do not expect BIDS entities at all.
Currently,
extract_bids_entities
runs on all inputs and checks if any entities are defined, these are of two types:desc
for an output SVG)If neither dynamic or static entities are defined then
extract_bids_entities
will raise an error. Which is problematic because if no static entities are defined in the YAML, then nonpath items will always fail.This should be remediated so that BIDS entities aren't checked for non-path args. Note that this may break things down the line, but we'll discover them as we go :)
Where to look
config.py:FileSpec.gen_args
The text was updated successfully, but these errors were encountered: