Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: elitap <[email protected]>
  • Loading branch information
elitap committed Nov 21, 2023
1 parent 89c62a8 commit 708fcbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monai/handlers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class mean median max 5percentile 95percentile notnans
if class_labels is None:
class_labels = ["class" + str(i) for i in range(v.shape[1])]
else:
class_labels=[str(i) for i in class_labels] # ensure to have a list of str
class_labels = [str(i) for i in class_labels] # ensure to have a list of str

class_labels += ["mean"]
v = np.concatenate([v, np.nanmean(v, axis=1, keepdims=True)], axis=1)

Expand Down

0 comments on commit 708fcbb

Please sign in to comment.