sddb.contract.validate#
- sddb.contract.validate(path: str | Path, *, sample: int = 2000, seed: int = 0) list[str]#
Check a collection: every dataset (see
validate_dataset()) plus the checks across datasets.Across datasets, the collection has one image role, the same var index in every dataset, one
mpp_targeton the target grid, and grids of one kind (targetornative) unless every dataset setsallow_mixed_grids.- Returns:
The issues found, each prefixed by its dataset (
dataset_<i>:) or bycollection:; an empty list means the collection conforms.