Skip to content

Commit

Permalink
"nii2mesh_brain_pipe" in params["brain_segment_pipe"].keys() in rename
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmeunier79 committed Mar 7, 2024
1 parent 5e3b713 commit d29f0cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion macapype/pipelines/rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def rename_all_brain_derivatives(params, main_workflow, segment_pnh_pipe,
rename_gen_5tt, 'out_file',
datasink, '@gen_5tt')

if "nii2mesh_brain_pipe" in params["brain_segment_pipe"].keys():
if "nii2mesh_brain_pipe" in params["brain_segment_pipe"] \
or "IsoSurface_brain_pipe" in params["brain_segment_pipe"]:

print("Renaming wmgm_stl file")

Expand Down

0 comments on commit d29f0cc

Please sign in to comment.