create_attachment_files()

audformat.testing.create_attachment_files(db, root)[source]

Create attachment folders and files of a database.

If the basename of an attachment path contains a dot (.) it is considered to represent a file, otherwise a directory.

Parameters
  • db (Database) – a database

  • root (str) – root folder of database