movement.io.validators.ValidDeepLabCutCSV#
- class movement.io.validators.ValidDeepLabCutCSV(path)[source]#
Class for validating DeepLabCut-style .csv files.
- Parameters:
path (pathlib.Path) – Path to the .csv file.
- Raises:
ValueError – If the .csv file does not contain the expected DeepLabCut index column levels among its top rows.
- __init__(path)#
Method generated by attrs for class ValidDeepLabCutCSV.
Methods
__init__
(path)Method generated by attrs for class ValidDeepLabCutCSV.
csv_file_contains_expected_levels
(attribute, ...)Ensure that the .csv file contains the expected index column levels.
Attributes
path