Skip to content

Commit ee9f547

Browse files
committed
sty: format to PEP8
fix: fix key name in entities dict
1 parent 7ab02a0 commit ee9f547

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fmriprep/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def main():
218218
config.execution.participant_label,
219219
config.execution.fmriprep_dir,
220220
config.execution.run_uuid,
221-
config=data.load("reports-spec.yml")
221+
config=data.load("reports-spec.yml"),
222222
)
223223
write_derivative_description(config.execution.bids_dir, config.execution.fmriprep_dir)
224224
write_bidsignore(config.execution.fmriprep_dir)

fmriprep/reports/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def generate_reports(subject_list, output_dir, run_uuid, config=None, work_dir=N
3434
report_errors = []
3535
for subject_label in subject_list:
3636
entities = {}
37-
entities["sub"] = subject_label
37+
entities["subject"] = subject_label
3838

3939
robj = Report(
4040
output_dir,

0 commit comments

Comments
 (0)