From 888a996ddab0fa4b0771a4433dc139c76a7ebb99 Mon Sep 17 00:00:00 2001 From: kapoorlab Date: Mon, 4 Dec 2023 19:02:34 +0100 Subject: [PATCH] handle negative eigenvalues --- src/napatrackmater/clustering.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/napatrackmater/clustering.py b/src/napatrackmater/clustering.py index 489d54fa..b6115ff7 100644 --- a/src/napatrackmater/clustering.py +++ b/src/napatrackmater/clustering.py @@ -60,7 +60,10 @@ def __init__( center=True, compute_with_autoencoder=True, ): - super().__init__(None, None, None, None, None, None, None, None, seg_image=label_image, autoencoder_model=model) + super().__init__(xml_path=None, spot_csv_path=None, track_csv_path=None, + AttributeBoxname = None, TrackAttributeBoxname = None, + TrackidBox = None, seg_image=label_image, + autoencoder_model=model, accelerator=accelerator, devices=devices, axes=axes, key=key,) self.accelerator = accelerator self.devices = devices