ValidDeepLabCutCSV#

class movement.validators.files.ValidDeepLabCutCSV(path)[source]#

Bases: object

Class for validating DeepLabCut-style .csv files.

The validator ensures that the file contains the expected index column levels.

path#

Path to the .csv file.

Type:

pathlib.Path

Raises:

ValueError – If the .csv file does not contain the expected DeepLabCut index column levels among its top rows.