From b5ae59be00175817b19e78f4b825b4c42d0d1769 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Wed, 11 Sep 2024 11:38:16 +1000 Subject: [PATCH] responsemean: Fix terminal message for 1 b-value --- python/mrtrix3/commands/responsemean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mrtrix3/commands/responsemean.py b/python/mrtrix3/commands/responsemean.py index 5a80662103..825c1b88e9 100644 --- a/python/mrtrix3/commands/responsemean.py +++ b/python/mrtrix3/commands/responsemean.py @@ -75,7 +75,7 @@ def execute(): #pylint: disable=unused-variable data.append(subject) app.console(f'Calculating mean RF across {len(data)} inputs, ' - f'with {len(data[0])} {"b-values" if len(data[0])>1 else ""} ' + f'with {len(data[0])} b-value{"s" if len(data[0])>1 else ""} ' f'and lmax={2*(len(data[0][0])-1)}') # Old approach: Just take the average across all subjects