diff --git a/docs/changes/newsfragments/360.bugfix b/docs/changes/newsfragments/360.bugfix new file mode 100644 index 000000000..d02de688f --- /dev/null +++ b/docs/changes/newsfragments/360.bugfix @@ -0,0 +1 @@ +Enable ``spike`` mapping from ``adhoc`` to ``fmriprep`` for :class:`.fMRIPrepConfoundRemover` by `Leonard Sasse`_ and `Synchon Mandal`_ diff --git a/junifer/preprocess/confounds/fmriprep_confound_remover.py b/junifer/preprocess/confounds/fmriprep_confound_remover.py index 7a13abf61..3a0f0859a 100644 --- a/junifer/preprocess/confounds/fmriprep_confound_remover.py +++ b/junifer/preprocess/confounds/fmriprep_confound_remover.py @@ -93,6 +93,9 @@ FMRIPREP_VALID_NAMES = [ for t_list in x.values() for elem in t_list ] +# NOTE: Check with @fraimondo about the spike mapping intent +# Add spike_name to FMRIPREP_VALID_NAMES +FMRIPREP_VALID_NAMES.append("framewise_displacement") @register_preprocessor