Skip to content

Commit c23f443

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 316a59b commit c23f443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/core/dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4957,7 +4957,7 @@ def set_xindex(
49574957
# Add ALL variables returned by create_variables()
49584958
for name, var in new_coord_vars.items():
49594959
variables[name] = var
4960-
4960+
49614961
# Set index only for the original coordinate name
49624962
coord_name = list(coord_names).pop()
49634963
indexes[coord_name] = index
@@ -4977,7 +4977,7 @@ def set_xindex(
49774977
# Add ALL variables returned by create_variables()
49784978
for name, var in new_coord_vars.items():
49794979
variables[name] = var
4980-
4980+
49814981
# Set index for all original coordinate names
49824982
for name in coord_names:
49834983
indexes[name] = index

0 commit comments

Comments
 (0)