Skip to content

Commit

Permalink
Autoformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
brainless-bot[bot] committed Feb 1, 2024
1 parent f926558 commit 9a90686
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions panoptica/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9a90686

Please sign in to comment.