MCPcopy Index your code
hub / github.com/PyTables/PyTables / NodeError

Class NodeError

tables/exceptions.py:261–278  ·  view source on GitHub ↗

Invalid hierarchy manipulation operation requested. This exception is raised when the user requests an operation on the hierarchy which can not be run because of the current layout of the tree. This includes accessing nonexistent nodes, moving or copying or creating over an existin

Source from the content-addressed store, hash-verified

259
260
261class NodeError(AttributeError, LookupError):
262 """Invalid hierarchy manipulation operation requested.
263
264 This exception is raised when the user requests an operation on the
265 hierarchy which can not be run because of the current layout of the
266 tree. This includes accessing nonexistent nodes, moving or copying
267 or creating over an existing node, non-recursively removing groups
268 with children, and other similarly invalid operations.
269
270 A node in a PyTables database cannot be simply overwritten by
271 replacing it. Instead, the old node must be removed explicitly
272 before another one can take its place. This is done to protect
273 interactive users from inadvertently deleting whole trees of data by
274 a single erroneous command.
275
276 """
277
278 pass
279
280
281class NoSuchNodeError(NodeError):

Callers 10

_f_moveMethod · 0.85
_f_copyMethod · 0.85
_g_check_not_containsMethod · 0.85
_g_maybe_removeMethod · 0.85
_g_refnodeMethod · 0.85
_g_removeMethod · 0.85
_f_copy_childrenMethod · 0.85
_f_renameMethod · 0.85
_f_moveMethod · 0.85
_f_removeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected