From 2c98c4c0c847d69b00d3d39eaa70f81e313f2ad5 Mon Sep 17 00:00:00 2001 From: Ian Hunt-Isaak Date: Mon, 26 Feb 2024 13:52:31 -0500 Subject: [PATCH] Correct passing of arguments `optimize`->`optimize` `optimise` expects a dict, not many kwargs --- btrack/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrack/core.py b/btrack/core.py index a220eebc..85cc3482 100644 --- a/btrack/core.py +++ b/btrack/core.py @@ -508,7 +508,7 @@ def hypotheses(self) -> list[hypothesis.Hypothesis]: def optimize(self, **kwargs): """Proxy for `optimise` for our American friends ;)""" - return self.optimise(**kwargs) + return self.optimise(options=kwargs) def optimise(self, options: Optional[dict] = None) -> list[hypothesis.Hypothesis]: """Optimize the tracks.