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
I have a feature request: It would be nice if it was possible to replace one regex-match with another one from the same input string for the the regexp_substitutions argument of nipype.interfaces.io.Datasink. Then one wouldn't have to define one substitution for every possible case. E.g. when the parameterization puts out something like this:
), so I would say if you can come up with a patch that implements this that doesn't break those expectations (or those expectations are incidental), that would be fine.
It might be easier just to write your own DataSink that does what you want.
Summary
I have a feature request: It would be nice if it was possible to replace one regex-match with another one from the same input string for the the
regexp_substitutions
argument ofnipype.interfaces.io.Datasink
. Then one wouldn't have to define one substitution for every possible case. E.g. when the parameterization puts out something like this:and I would like to have the folders like this:
Then I currently have to do this:
It would be nice if one could use regex groups to something like (pseudo-code!):
The text was updated successfully, but these errors were encountered: