Skip to content

Commit

Permalink
make pre-commit happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 27, 2023
1 parent c292b31 commit 78502db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pytorch_ie/metrics/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def __init__(
f"functions that rely on zero values."
)
self.aggregation_functions = {
name: func for name, func in self.aggregation_functions.items() if name not in ["mean", "std", "min"]
name: func
for name, func in self.aggregation_functions.items()
if name not in ["mean", "std", "min"]
}

self.labels = labels
Expand Down

0 comments on commit 78502db

Please sign in to comment.