You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2024. It is now read-only.
File~/micromamba/envs/micromamba1/lib/python3.10/site-packages/datatree/datatree.py:852, inDataTree.__setitem__(self, key, value)
848elifisinstance(key, str):
849# TODO should possibly deal with hashables in general?850# path-like: a name of a node/variable, or path to a node/variable851path=NodePath(key)
-->852returnself._set_item(path, value, new_nodes_along_path=True)
853else:
854raiseValueError("Invalid format for key")
File~/micromamba/envs/micromamba1/lib/python3.10/site-packages/datatree/treenode.py:494, inTreeNode._set_item(self, path, item, new_nodes_along_path, allow_overwrite)
491path=NodePath(path)
493ifnotpath.name:
-->494raiseValueError("Can't set an item under a path which has no name")
496ifpath.root:
497# absolute path498current_node=self.rootValueError: Can'tsetanitemunderapathwhichhasnoname