From f1a67c01df4e375a7d23244dd75619658c70c44c Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 10 Dec 2024 17:15:30 -0500 Subject: [PATCH] fix: Listify sessions when generating reports --- fmriprep/reports/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fmriprep/reports/core.py b/fmriprep/reports/core.py index 33fb92f7e..6926d720f 100644 --- a/fmriprep/reports/core.py +++ b/fmriprep/reports/core.py @@ -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: