Skip to content

Commit

Permalink
Remove out of date comment on DataTree inheritance (#9592)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer authored Oct 8, 2024
1 parent f45cfe6 commit f01096f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,6 @@ def check_alignment(
def _deduplicate_inherited_coordinates(child: DataTree, parent: DataTree) -> None:
# This method removes repeated indexes (and corresponding coordinates)
# that are repeated between a DataTree and its parents.
#
# TODO(shoyer): Decide how to handle repeated coordinates *without* an
# index. Should these be allowed, in which case we probably want to
# exclude them from inheritance, or should they be automatically
# dropped?
# https://github.com/pydata/xarray/issues/9475#issuecomment-2357004264
removed_something = False
for name in parent._indexes:
if name in child._node_indexes:
Expand Down

0 comments on commit f01096f

Please sign in to comment.