ITADN

Make `default_array_save_base` `False`

#1994Openbraingram 创建于 2025-11-25
B
braingramcommented
This would be a major/breaking change. We currently have `default_array_save_base` to `True`: https://github.com/asdf-format/asdf/blob/7ff17bbbe3c01e7c7586caca8219aa25416f397f/asdf/config.py#L27 to match previous asdf behavior (where a view of an array saves the base array). However this results in unexpectedly large files. I suggest that we switch this default to `False` and rely on users to default `set_array_save_base` if they want to save a "view" (and the base array). If not already covered by tests/API we should first check that this option "round-trips".
1 条评论