MCPcopy Create free account
hub / github.com/PyWavelets/pywt / _validate_node_name

Method _validate_node_name

pywt/_wavelet_packets.py:110–112  ·  view source on GitHub ↗
(self, part)

Source from the content-addressed store, hash-verified

108 self._set_node(part, None)
109
110 def _validate_node_name(self, part):
111 if part not in self.PARTS:
112 raise ValueError("Subnode name must be in [{}], not '{}'.".format(', '.join("'%s'" % p for p in self.PARTS), part))
113
114 @property
115 def path_tuple(self):

Callers 2

_create_subnode_baseMethod · 0.95
get_subnodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected