pypet/naturalnaming.py
def _remove_node_or_leaf(self, instance, recursive=False):
        """Removes a single node from the tree.

        Only from RAM not from hdf5 file!

        :param instance: The node to be deleted

        :param recursive: If group nodes with children should be deleted

        """
        full_name = instance.v_full_name
        split_name = deque(full_name.split('.'))
        self._remove_along_branch(self._root_instance, split_name, recursive)
def _remove_node_or_leaf(self, instance, recursive=False):
        full_name = instance.v_full_name
        split_name = deque(full_name.split('.'))
        self._remove_along_branch(self._root_instance, split_name, recursive)
def _remove_node_or_leaf ( self , instance , recursive = False ) : full_name = instance . v_full_name split_name = deque ( full_name . split ( '.' ) ) self . _remove_along_branch ( self . _root_instance , split_name , recursive )
Removes a single node from the tree.

        Only from RAM not from hdf5 file!

        :param instance: The node to be deleted

        :param recursive: If group nodes with children should be deleted
Removes a single node from the tree .