Skip to content

Commit a3e716a

Browse files
author
BlackBot
committed
Apply Black formatting to Python code.
1 parent 5227549 commit a3e716a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

coast/diagnostics/profile_stratification.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,8 @@ def calc_pea(
224224
profile.construct_density(CT_AS=CT_AS, pot_dens=True)
225225

226226
# Update Zd_mask to exlude nan points
227-
Zd_mask = Zd_mask.where(
228-
np.isfinite(profile.dataset.variables["density"]), 0
229-
)
230-
227+
Zd_mask = Zd_mask.where(np.isfinite(profile.dataset.variables["density"]), 0)
228+
231229
if not "density_bar" in profile.dataset:
232230
profile.construct_density(CT_AS=CT_AS, rhobar=True, Zd_mask=Zd_mask, pot_dens=True)
233231
rho = profile.dataset.variables["density"].fillna(0) # density

0 commit comments

Comments
 (0)