Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions autoarray/util/dataset_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

# The FITS header card ``autonerves.fitsable.stamp_small_datasets_regime`` writes
# on every array the stack outputs. Deliberately duplicated here rather than
# imported: ``pyproject.toml`` floors autonerves at a release that predates the
# stamp, so an import would hard-fail against a legitimately-resolved older
# autonerves. Reading the card by name degrades to "absent" instead, which is
# exactly the fallback path below. Keep in sync with PyAutoNerves#153.
# imported even though ``pyproject.toml`` now floors autonerves at the first
# stamped release: the card name is an on-disk format detail, and keeping the
# reader independent of the writer's Python API preserves the safe "absent"
# fallback if that API moves. Keep in sync with PyAutoNerves#153.
SMALL_DATASETS_HEADER_KEY = "SMALLDAT"


Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ dependencies = [
# Floor, not a pin (PyAutoLens#687) — bump to the first release with JAX
# in autonerves' base dependencies once it exists (PyAutoLens#702), so
# backtracking cannot pair this autoarray with a jax-optional autonerves.
"autonerves>=2026.8.22.1",
#
# It ALSO floors the SMALLDAT regime stamp (PyAutoNerves#153/#154), first
# released in 2026.8.23.1. Below that release autonerves' FITS writer emits
# no card at all, so should_simulate reads the regime as "unknown" and falls
# back to the shape heuristic -- which cannot see capped interferometer
# datasets, the case the stamp exists for. Both reasons are load-bearing:
# neither replaces the other, so do not drop either when next bumping.
"autonerves>=2026.8.23.1",
"astropy>=5.0",
"decorator>=4.0.0",
"dill>=0.3.1.1",
Expand Down