From c04fe60918f9fdd2dc0cdea0c0f2c79db40a0bfe Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:56:56 +0100 Subject: [PATCH] Update fmriprep/interfaces/reports.py Co-authored-by: Chris Markiewicz --- fmriprep/interfaces/reports.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fmriprep/interfaces/reports.py b/fmriprep/interfaces/reports.py index 2002af214..9d72aa0f1 100644 --- a/fmriprep/interfaces/reports.py +++ b/fmriprep/interfaces/reports.py @@ -169,7 +169,6 @@ def _generate_segment(self): if counts: header = '\t\t' - s = '' if n_runs == 1 else 's' lines = [ f'\t\t\t
  • Task: {task_id} ({n_runs:d} run{"s"[:n_runs > 1]})
  • ' for task_id, n_runs in sorted(counts.items())