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
When using the BIDSPath option, if you try to update the suffix with a non-supported suffix (e.g. _ave), you will receive an error that the suffix is not supported (intended behavior) but the BIDSPath option is updated regardless (not intended behavior). I believe this is because the _check method is called after setting the suffix instead of being called first.
Describe the bug
When using the BIDSPath option, if you try to update the suffix with a non-supported suffix (e.g.
_ave
), you will receive an error that the suffix is not supported (intended behavior) but the BIDSPath option is updated regardless (not intended behavior). I believe this is because the_check
method is called after setting the suffix instead of being called first.Steps to reproduce
Expected results
BIDSPath object should not update with the unsupported extension or there should be an ignore option so that the error doesn't occur.
Actual results
The text was updated successfully, but these errors were encountered: