From db0eca91b26111d16e16b462f6b80fb1dbf4a6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Defr=C3=A8re?= Date: Thu, 9 Jul 2026 09:37:09 +0200 Subject: [PATCH] Fix swapped frames/sequence args in characterize_null_nifits_format. Align the wrapper signature with characterize_null and pass arguments in the correct order. Co-authored-by: Cursor --- nottcontrol/components/human_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nottcontrol/components/human_interface.py b/nottcontrol/components/human_interface.py index aa196187..59662032 100644 --- a/nottcontrol/components/human_interface.py +++ b/nottcontrol/components/human_interface.py @@ -1040,8 +1040,8 @@ def characterize_null(self, dt, dark=None, frames=None, sequence=False): return disp_null_stack, broad_null_stack - def characterize_null_nifits_format(self, dt, dark=None, sequence=False, frames=None): - disp_null_stack, broad_null_stack = self.characterize_null(dt, dark, sequence, frames) + def characterize_null_nifits_format(self, dt, dark=None, frames=None, sequence=False): + disp_null_stack, broad_null_stack = self.characterize_null(dt, dark, frames, sequence) # WIP