@@ -96,7 +96,7 @@ def generate_reports(
96
96
bootstrap_file = data .load ('reports-spec.yml' )
97
97
html_report = 'report.html'
98
98
else :
99
- # Beyond a threshold, we separate the anatomical report from the functional .
99
+ # Beyond a threshold, we separate the anatomical report from the PET .
100
100
bootstrap_file = data .load ('reports-spec-anat.yml' )
101
101
html_report = f'sub-{ subject_label } _anat.html'
102
102
@@ -116,19 +116,19 @@ def generate_reports(
116
116
117
117
if n_ses > config .execution .aggr_ses_reports :
118
118
# Beyond a certain number of sessions per subject,
119
- # we separate the functional reports per session
119
+ # we separate the PET reports per session
120
120
if session_list is None :
121
121
all_filters = config .execution .bids_filters or {}
122
- filters = all_filters .get ('pet' , all_filters . get ( 'bold' , {}) )
122
+ filters = all_filters .get ('pet' , {} )
123
123
session_list = config .execution .layout .get_sessions (
124
124
subject = subject_label , ** filters
125
125
)
126
126
127
127
session_list = [ses .removeprefix ('ses-' ) for ses in session_list ]
128
128
129
129
for session_label in session_list :
130
- bootstrap_file = data .load ('reports-spec-func .yml' )
131
- html_report = f'sub-{ subject_label } _ses-{ session_label } _func .html'
130
+ bootstrap_file = data .load ('reports-spec-pet .yml' )
131
+ html_report = f'sub-{ subject_label } _ses-{ session_label } _pet .html'
132
132
133
133
report_error = run_reports (
134
134
output_dir ,
@@ -137,7 +137,7 @@ def generate_reports(
137
137
bootstrap_file = bootstrap_file ,
138
138
out_filename = html_report ,
139
139
reportlets_dir = reportlets_dir ,
140
- errorname = f'report-{ run_uuid } -{ subject_label } -func .err' ,
140
+ errorname = f'report-{ run_uuid } -{ subject_label } -pet .err' ,
141
141
subject = subject_label ,
142
142
session = session_label ,
143
143
)
0 commit comments