def reset_layer(self, layer):
        """Removes any value and metadata associated with the named layer.

        Parameters
        ----------
        layer : str
            Name of the layer to reset.

        Raises
        ------
        TypeError
            If the node is frozen
        KeyError
            If the named layer does not exist
        """
        if self._frozen:
            raise TypeError('Frozen ConfigNode does not support modification')
        if layer in self._values:
            del self._values[layer]
def reset_layer ( self , layer ) : if self . _frozen : raise TypeError ( 'Frozen ConfigNode does not support modification' ) if layer in self . _values : del self . _values [ layer ]
Removes any value and metadata associated with the named layer.

        Parameters
        ----------
        layer : str
            Name of the layer to reset.

        Raises
        ------
        TypeError
            If the node is frozen
        KeyError
            If the named layer does not exist