This PR is an attempt to resolve #1160.
It considers having empty arrays and show them with an empty array and invalid (0, 0) spans on each dimension.
annotate_d checks annotation to comply with the array in the number of dimensions and size of each dimension. It also considers that the whole span on each dimension starts from 0 and there is no gap between parts of it while it can accept overlaps.
These are the annotation samples that will throw exceptions:
This PR is an attempt to resolve #1160. It considers having empty arrays and show them with an empty array and invalid (0, 0) spans on each dimension.
annotate_d
checks annotation to comply with the array in the number of dimensions and size of each dimension. It also considers that the whole span on each dimension starts from 0 and there is no gap between parts of it while it can accept overlaps. These are the annotation samples that will throw exceptions: