File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ def init_single_subject_wf(subject_id, session_id=None):
408
408
409
409
# Append the functional section to the existing anatomical exerpt
410
410
# That way we do not need to stream down the number of bold datasets
411
- anat_preproc_wf .__postdesc__ = getattr (anat_preproc_wf , '__postdesc__' , '' )
411
+ anat_preproc_wf .__postdesc__ = getattr (anat_preproc_wf , '__postdesc__' ) or ''
412
412
func_pre_desc = f"""
413
413
414
414
Functional data preprocessing
@@ -423,7 +423,7 @@ def init_single_subject_wf(subject_id, session_id=None):
423
423
if func_preproc_wf is None :
424
424
continue
425
425
426
- func_preproc_wf .__desc__ = func_pre_desc + getattr (func_preproc_wf , '__desc__' , '' )
426
+ func_preproc_wf .__desc__ = func_pre_desc + ( getattr (func_preproc_wf , '__desc__' ) or '' )
427
427
# fmt:off
428
428
workflow .connect ([
429
429
(anat_preproc_wf , func_preproc_wf , [
You can’t perform that action at this time.
0 commit comments