Skip to content

Commit

Permalink
format w black
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Jan 16, 2024
1 parent dc8d4fd commit 2332861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def ocean_forcing(
ic_raw = xr.open_dataset(path / "ic_unprocessed")

if varnames["time"] in ic_raw.variables:
ic_raw = ic_raw.drop_vars('time')
ic_raw = ic_raw.drop_vars("time")

Check warning on line 594 in regional_mom6/regional_mom6.py

View check run for this annotation

Codecov / codecov/patch

regional_mom6/regional_mom6.py#L594

Added line #L594 was not covered by tests
if varnames["time"] in ic_raw.dims:
ic_raw = ic_raw.isel({varnames["time"]: 0})
print(ic_raw)
Expand Down

0 comments on commit 2332861

Please sign in to comment.