From a18144481906f0faa5677001fe83df01024e9b68 Mon Sep 17 00:00:00 2001 From: taoning Date: Thu, 22 Aug 2024 16:26:22 -0700 Subject: [PATCH] fix(method): don't remember why we did this, but this is causing issue now --- frads/methods.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frads/methods.py b/frads/methods.py index 3198464..f011930 100755 --- a/frads/methods.py +++ b/frads/methods.py @@ -64,9 +64,7 @@ def __post_init__(self): @dataclass class MatrixConfig: matrix_file: Union[str, Path] = "" - matrix_data: np.ndarray = field( - default_factory=lambda: np.ones((145, 145, 3)) - ) + matrix_data: Optional[np.ndarray] = None def __post_init__(self): if self.matrix_data is None: