Skip to content

Commit 838d0a1

Browse files
committed
code format
Signed-off-by: thibaultdvx <[email protected]>
1 parent c9ee60c commit 838d0a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

monai/metrics/r2_score.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,6 @@ def compute_r2_score(
179179
if multi_output == MultiOutput.VARIANCE:
180180
weights = np.var(y, axis=1)
181181
return np.average(r2_values, weights=weights) # type: ignore[no-any-return]
182-
raise ValueError(f'Unsupported multi_output: {multi_output}, available options are ["raw_values", "uniform_average", "variance_weighted"].')
182+
raise ValueError(
183+
f'Unsupported multi_output: {multi_output}, available options are ["raw_values", "uniform_average", "variance_weighted"].'
184+
)

0 commit comments

Comments
 (0)