Skip to content

Commit

Permalink
fix: Listify sessions when generating reports (#3408)
Browse files Browse the repository at this point in the history
Closes #3407.
  • Loading branch information
effigies authored Dec 11, 2024
2 parents 0218f4f + f1a67c0 commit db44dff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fmriprep/reports/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def generate_reports(

if isinstance(subject_list, str):
subject_list = [subject_list]
if isinstance(session_list, str):
session_list = [session_list]

errors = []
for subject_label in subject_list:
Expand Down

0 comments on commit db44dff

Please sign in to comment.