Skip to content

Commit f01096f

Browse files
authored
Remove out of date comment on DataTree inheritance (#9592)
1 parent f45cfe6 commit f01096f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

xarray/core/datatree.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@ def check_alignment(
154154
def _deduplicate_inherited_coordinates(child: DataTree, parent: DataTree) -> None:
155155
# This method removes repeated indexes (and corresponding coordinates)
156156
# that are repeated between a DataTree and its parents.
157-
#
158-
# TODO(shoyer): Decide how to handle repeated coordinates *without* an
159-
# index. Should these be allowed, in which case we probably want to
160-
# exclude them from inheritance, or should they be automatically
161-
# dropped?
162-
# https://github.com/pydata/xarray/issues/9475#issuecomment-2357004264
163157
removed_something = False
164158
for name in parent._indexes:
165159
if name in child._node_indexes:

0 commit comments

Comments
 (0)