From 1a74e290660efce61fdc26101490a8f97a2fd054 Mon Sep 17 00:00:00 2001 From: Thomas Madison <56737848+madisoth@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:29:04 -0800 Subject: [PATCH] Update config.py Convert echo_idx to str when passing to listify to avoid error --- nibabies/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nibabies/config.py b/nibabies/config.py index 08154068..71f2f187 100644 --- a/nibabies/config.py +++ b/nibabies/config.py @@ -798,7 +798,7 @@ def dismiss_echo(entities: list | None = None): entities = entities or [] echo_idx = execution.echo_idx - if echo_idx is None or len(listify(echo_idx)) > 2: + if echo_idx is None or len(listify(str(echo_idx))) > 2: entities.append('echo') return entities