From 2e7e04cef7120b0826a0dbed3baf8b595dbbe2d5 Mon Sep 17 00:00:00 2001 From: Suraj Pai Date: Thu, 5 Sep 2024 13:28:42 -0400 Subject: [PATCH] Fix line length Signed-off-by: Suraj Pai --- monai/metrics/generalized_dice.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/monai/metrics/generalized_dice.py b/monai/metrics/generalized_dice.py index 70041ad1c9..3ebfd6f386 100644 --- a/monai/metrics/generalized_dice.py +++ b/monai/metrics/generalized_dice.py @@ -50,7 +50,10 @@ class GeneralizedDiceScore(CumulativeIterationMetric): new_default=MetricReduction.MEAN, since="1.4.0", replaced="1.5.0", - msg_suffix="Old versions computed `mean` when `mean_batch` was provided due to bug in reduction, If you want to retain the old behavior (calculating the mean), please explicitly set the parameter to 'mean'.", + msg_suffix=( + "Old versions computed `mean` when `mean_batch` was provided due to bug in reduction, " + "If you want to retain the old behavior (calculating the mean), please explicitly set the parameter to 'mean'." + ), ) def __init__( self,