rec_to_nwb.processing.validation.preprocessing_validator
¶
Module Contents¶
Classes¶
|
Class to validate if preprocessing data is complete |
-
class
PreprocessingValidator
(data_path, epochs, data_types_for_scanning)¶ Bases:
rec_to_nwb.processing.validation.validator.Validator
Class to validate if preprocessing data is complete
- Parameters
all_data_dirs (list of strings) – all directories contained in directory <animal name>/<preprocessing>/<date>
epochs (list of strings) – list of all epochs
data_types_to_check (dictionary) – types of data required
-
get_missing_preprocessing_data
()¶
-
__check_single_epoch
()¶
-
create_summary
(self)¶ Creates ValidationSummary object with the results of validation
- Returns
missing preprocessing files
- Return type
-
__get_missing_preprocessing_data
(self)¶ Get list of missing preprocessing files
- Returns
missing preprocessing files
- Return type
List of strings
-
__check_single_epoch
(self, epoch)¶ finds missing data in single epoch
- Parameters
epoch (string) – name of epoch to check
- Returns
missing preprocessing files from checked epoch
- Return type
List of strings