-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class
Description
I think both of these should have the same behavior:
bart = xr.DataTree(name="Bart")
lisa = xr.DataTree(name="Lisa")
homer = xr.DataTree(name="Homer", children={"Bart": bart, "Lisa": lisa})
print(list(lisa.siblings))
homer2 = xr.DataTree(name="Homer")
homer2.children = {"Bart": bart, "Lisa": lisa}
print(list(lisa.siblings))
[]
['Bart']
Originally posted by @flamingbear in #9033 (comment)
Metadata
Metadata
Assignees
Labels
bugtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class