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 has been 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
The text was updated successfully, but these errors were encountered:
I don't know if it is an issue (datatree==0.0.14) but, at least, it is an error that could appear quite easily:
the case that would be problematic is:
the error raised is:
The text was updated successfully, but these errors were encountered: