Skip to content

Commit 6d83bf5

Browse files
committed
reformat
1 parent af19455 commit 6d83bf5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mhkit/river/io/d3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ def variable_interpolation(
651651
if not isinstance(to_pandas, bool):
652652
raise TypeError(f"to_pandas must be of type bool. Got: {type(to_pandas)}")
653653

654-
# Avoid Quhall errors by filling in bad sigma values
654+
# Avoid Quhall errors by filling in bad sigma values
655655
if "mesh2d_interface_sigma" in data.variables:
656656
sigma = data["mesh2d_interface_sigma"].values
657657
bad = ~np.isfinite(sigma) | (np.abs(sigma) > 0.1)
@@ -667,9 +667,9 @@ def variable_interpolation(
667667
if neighbors:
668668
avg_neighbor = np.mean(neighbors)
669669
if np.abs(avg_neighbor - (-1.0)) < np.abs(avg_neighbor):
670-
sigma[idx] = -1.0 # sea bed
670+
sigma[idx] = -1.0 # sea bed
671671
else:
672-
sigma[idx] = 0.0 # water surface
672+
sigma[idx] = 0.0 # water surface
673673
else:
674674
sigma[idx] = -1.0
675675

0 commit comments

Comments
 (0)