Skip to content

Commit

Permalink
fix(method): don't remember why we did this, but this is causing issu…
Browse files Browse the repository at this point in the history
…e now
  • Loading branch information
taoning committed Aug 22, 2024
1 parent 3c34330 commit a181444
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frads/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a181444

Please sign in to comment.