MCPcopy Create free account
hub / github.com/PyTables/PyTables / _check_node

Method _check_node

tables/nodes/filenode.py:367–371  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

365 raise ValueError("host PyTables file is already closed!")
366
367 def _check_node(self, node):
368 if not isinstance(node, tb.EArray):
369 raise TypeError('the "node" parameter should be a tables.EArray')
370 if not isinstance(node.atom, tb.UInt8Atom):
371 raise TypeError('only nodes with atom "UInt8Atom" are allowed')
372
373 def _check_mode(self, mode):
374 if not isinstance(mode, str):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected