BadIdError

exception audformat.errors.BadIdError(name, invalid_id, dictionary)[source]

Raised when a field identifier is unknown.

Parameters
  • name (str) – name of the field

  • invalid_id (str) – identifier causing the error

  • dictionary (dict) – dictionary with valid identifiers