diff --git a/panoptica/metrics/metrics.py b/panoptica/metrics/metrics.py index c7ce019..57432d7 100644 --- a/panoptica/metrics/metrics.py +++ b/panoptica/metrics/metrics.py @@ -292,9 +292,7 @@ def __init__( self.STD = ( None if self.ALL is None - else empty_list_std - if len(self.ALL) == 0 - else np.std(self.ALL) + else empty_list_std if len(self.ALL) == 0 else np.std(self.ALL) ) def __getitem__(self, mode: MetricMode | str):