asdf-format / asdf

ASDF (Advanced Scientific Data Format) is a next generation interchange format for scientific data
http://asdf.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
523 stars 57 forks source link

Change scope of ndarray custom validators #1790

Closed braingram closed 3 months ago

braingram commented 3 months ago

As noted in a comment: https://github.com/asdf-format/asdf/blob/5e3983e3db002ce2731f734b65fcf68a6dab2ec2/asdf/_core/_validators/ndarray.py#L7-L9

Prior to new-style extension custom validators the ndarray related validated applied to all tags. Scoping these to ndarray makes sense. This missed the 3.0 release and could be included in 4.0

braingram commented 3 months ago

Doh, duplicate of https://github.com/asdf-format/asdf/issues/1693