From c52d0a32ba00548d0cbbba207733e3ec484f5294 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Thu, 29 Jun 2023 12:40:37 -0700 Subject: [PATCH] fix order of reporting values in bw limits warning --- fooof/core/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fooof/core/strings.py b/fooof/core/strings.py index ad0e34c56..65c4ef219 100644 --- a/fooof/core/strings.py +++ b/fooof/core/strings.py @@ -36,7 +36,7 @@ def gen_width_warning_str(freq_res, bwl): output = '\n'.join([ '', 'FOOOF WARNING: Lower-bound peak width limit is < or ~= the frequency resolution: ' + \ - '{:1.2f} <= {:1.2f}'.format(freq_res, bwl), + '{:1.2f} <= {:1.2f}'.format(bwl, freq_res), '\tLower bounds below frequency-resolution have no effect ' + \ '(effective lower bound is the frequency resolution).', '\tToo low a limit may lead to overfitting noise as small bandwidth peaks.',