validate

method of dascore.core.lazy_array.LazyArray source

validate(
    self ,
)-> ‘LazyArray’

Check the array’s rules, raising ParameterError for the first broken.

The boxes must be inside the array, may not overlap, and must cover every sample; each window must be inside its source; and the members must be in canonical placement order. Operations do not validate, because they start from arrays which already hold.