processing.validation package

Submodules

class AssociatedFilesValidator(associated_files)

Bases: rec_to_nwb.processing.validation.validator.Validator

create_summary()
class AssociatedFilesValidationSummary(associated_files)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class MetadataSectionValidator(metadata)

Bases: object

validate_sections()
class MetadataValidationSummary(missing_metadata)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class MetadataValidator(metadata_path, probes_paths)

Bases: rec_to_nwb.processing.validation.validator.Validator

Class to validate if metadata is complete

Parameters
  • metadata_path (string) – path to metadata.yml file

  • probes_paths (list of strings) – list paths to yml files containing informations about probe types

get_missing_metadata()
create_summary()
class NotEmptyValidationSummary(parameter)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class NotEmptyValidator(parameter)

Bases: rec_to_nwb.processing.validation.validator.Validator

create_summary()
class NTrodeValidationSummary(ntrodes_num, spike_ntrodes_num)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class PathValidationSummary

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class PathValidator(path)

Bases: rec_to_nwb.processing.validation.validator.Validator

create_summary()
class PreprocessingValidationSummary(missing_preprocessing_data)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
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()

Creates ValidationSummary object with the results of validation

Returns

missing preprocessing files

Return type

PreprocessingValidationSummary

class TaskValidationSummary(tasks)

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()
class TaskValidator(tasks)

Bases: rec_to_nwb.processing.validation.validator.Validator

create_summary()
class ValidationRegistrator

Bases: rec_to_nwb.processing.validation.validator.Validator

register(validator)
validate()
class ValidationSummary

Bases: object

is_valid()
class Validator

Bases: object

create_summary()
class XmlFilesValidator(path)

Bases: rec_to_nwb.processing.validation.validation_registrator.ValidationRegistrator

create_summary()
class XmlFilesValidationSummary

Bases: rec_to_nwb.processing.validation.validation_summary.ValidationSummary

is_valid()