Skip to content

Commit

Permalink
fix: Listify sessions when generating reports
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 10, 2024
1 parent 0218f4f commit f1a67c0
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]

Check warning on line 80 in fmriprep/reports/core.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/reports/core.py#L80

Added line #L80 was not covered by tests

errors = []
for subject_label in subject_list:
Expand Down

0 comments on commit f1a67c0

Please sign in to comment.