def METHOD_NAME(self, name):
    """Removes a specification from the model
    Args:
        name (str): specification's name
    """
    for i, spec_name in enumerate(self._spec_names):
        if spec_name == name:
            self.removeRow(i)
            break