Skip to content

Commit

Permalink
Reformats again
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Teves committed Oct 15, 2021
1 parent e0e8c76 commit aa305e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tedana/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ def dice(arr1, arr2, axis=None):

with warnings.catch_warnings():
warnings.filterwarnings(
"ignore",
category=RuntimeWarning,
message="invalid value encountered in true_divide"
"ignore", category=RuntimeWarning, message="invalid value encountered in true_divide"
)
dsi = (2.0 * intersection.sum(axis=axis)) / arr_sum
dsi = np.nan_to_num(dsi)
Expand Down

0 comments on commit aa305e3

Please sign in to comment.