Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Oct 10, 2024
1 parent 3168179 commit 06464f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,9 @@ def _replace_node(
if data is not _default:
self._set_node_data(ds)

if self.parent is not None:
_deduplicate_inherited_coordinates(self, self.parent)

self.children = children

def _copy_node(
Expand Down

0 comments on commit 06464f6

Please sign in to comment.