diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ecfd5b28..99c2cbfea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Moved `pygraphviz` from requirements to `graphviz` optional dependencies group. -- Fixed-orientation-parameter `RPI` in resolve_resolution `freesurfer_fs_brain_connector`, `anatomical_init_T1`, `anatomical_init_T2`, `func_reorient` to take in whatever is set in the config `desired_orientation` field. +- Fixed-orientation-parameter `RPI` in resolve_resolution `freesurfer_fs_brain_connector`, `anatomical_init_T1`, `lesion_preproc`, `anatomical_init_T2`, `func_reorient` to take in whatever is set in the config `desired_orientation` field. ### Fixed diff --git a/CPAC/anat_preproc/lesion_preproc.py b/CPAC/anat_preproc/lesion_preproc.py index 7a31bc3e2..97a6828e5 100644 --- a/CPAC/anat_preproc/lesion_preproc.py +++ b/CPAC/anat_preproc/lesion_preproc.py @@ -19,7 +19,6 @@ import nipype.interfaces.utility as util from CPAC.pipeline import nipype_pipeline_engine as pe -from CPAC.utils.configuration import Configuration as cfg from CPAC.utils.interfaces import Function @@ -59,7 +58,7 @@ def inverse_lesion(lesion_path): return lesion_out -def create_lesion_preproc(wf_name="lesion_preproc"): +def create_lesion_preproc(wf_name="lesion_preproc", cfg="RPI"): """Process lesions masks. Lesion mask file is deobliqued and reoriented in the same way as the T1 in