Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nipreps/fmriprep
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cd22739c57a8911f937ca5a7426c194740b2d219
Choose a base ref
..
head repository: nipreps/fmriprep
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b534b50c65ad442084aa90526359f33fd2a5249e
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −2 fmriprep/interfaces/reports.py
3 changes: 1 addition & 2 deletions fmriprep/interfaces/reports.py
Original file line number Diff line number Diff line change
@@ -169,9 +169,8 @@ def _generate_segment(self):
if counts:
header = '\t\t<ul class="elem-desc">'
footer = '\t\t</ul>'
s = '' if n_runs == 1 else 's'
lines = [
f'\t\t\t<li>Task: {task_id} ({n_runs:d} run{s})</li>'
f'\t\t\t<li>Task: {task_id} ({n_runs:d} run{"" if n_runs == 1 else "s"})</li>'
for task_id, n_runs in sorted(counts.items())
]
tasks = '\n'.join([header] + lines + [footer])