MCPcopy Create free account
hub / github.com/enthought/apptools / _assert_valid_path

Method _assert_valid_path

apptools/io/h5/file.py:323–325  ·  view source on GitHub ↗
(self, node_path)

Source from the content-addressed store, hash-verified

321
322 @classmethod
323 def _assert_valid_path(self, node_path):
324 if "attrs" in node_path.split("/"):
325 raise ValueError("'attrs' is an invalid node name.")
326
327 @classmethod
328 def split_path(cls, node_path):

Callers 4

create_arrayMethod · 0.95
create_groupMethod · 0.95
create_dictMethod · 0.95
create_tableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected