From 1e9e45acbba757040fac5b30ff8363f04df38683 Mon Sep 17 00:00:00 2001 From: "askerosted@gmail.com" Date: Thu, 24 Oct 2024 17:01:06 +0900 Subject: [PATCH] more default none --- src/graphnet/models/graphs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphnet/models/graphs/utils.py b/src/graphnet/models/graphs/utils.py index 078aa04f2..16f7d63ee 100644 --- a/src/graphnet/models/graphs/utils.py +++ b/src/graphnet/models/graphs/utils.py @@ -364,7 +364,7 @@ def calculate_charge_weights(self, charge_index: int) -> np.ndarray: ) return self._charge_weights - def add_counts(self, location: Optional[int]) -> np.ndarray: + def add_counts(self, location: Optional[int] = None) -> np.ndarray: """Add the counts of the sensor to the summarization features.""" self._add_column(np.log10(self._counts), location) return self.clustered_x