-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RF: Add sanitized_id field to FieldmapEstimation #444
Conversation
…utput entities" This reverts commit a8ccd27.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - even though testing seems to be broken atm, can you add a small test for this?
TBH, this is a needless headache that is going to invite bugs, and I think we should put a check in the validator warning about B0Field* that contains non-alphanumeric characters, including underscores.
➕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing my original change. This PR makes sense to me.
I'm not sure how I feel about modifying the spec based on this though.
743bb1b
to
fb55b65
Compare
@mgxd Test failures resolved, new tests added. |
WDYT about this being in a patch release vs a feature release? |
I'd consider it a patch, since SDCFlows doesn't currently work with what the BIDS spec allows. |
I guess this will cause significant cache invalidation (at least in fmriprep) for anyone using a non-sanitized |
Okay. We'll just bump to 2.9. |
Replaces #434 along the lines described in #295 (comment).
I think probably the cleanest way forward for downstream is for functions to always store and pass the estimator object, and select
bids_id
orsanitized_id
only when a string is needed and what kind of string is needed is known.TBH, this is a needless headache that is going to invite bugs, and I think we should put a check in the validator warning about
B0Field*
that contains non-alphanumeric characters, including underscores.