Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xbout/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def attrs_remove_section(obj, section):

# If geometry was set, apply geometry again
if geometry is not None:
if "geometry" != ds.attrs.get("geometry", None):
if geometry != ds.attrs.get("geometry", None):
warn(
f'open_boutdataset() called with geometry="{geometry}", but we are '
f"reloading a Dataset that was saved after being loaded with "
Expand Down
4 changes: 2 additions & 2 deletions xbout/xarraybackend.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""License:
Distributed under the OSI-approved Apache License, Version 2.0. See
accompanying file Copyright.txt for details.
Distributed under the OSI-approved Apache License, Version 2.0. See
accompanying file Copyright.txt for details.
"""

from __future__ import annotations
Expand Down