Skip to content

fix: register dataset FITS for database-backed analyses - #878

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/database-dataset-fits
Nov 22, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/database-dataset-fits

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Imaging and interferometer analyses now register dataset HDUs on the database fit while preserving the on-disk image/dataset.fits used by directory searches. Storage handles the existing database reader’s big-endian float64 convention and avoids duplicate registration when retrying a fit.

API Changes

Database-backed fit.value("dataset") now returns the saved dataset HDUs for imaging, in-memory interferometry and array-free interferometry. Directory-backed searches retain their existing dataset files.

Test Plan

  • Round-tripped directory and SQLite results, including FITS HDUs, mask/header geometry, reload after clearing the session, and repeat registration.
  • Full suite: 1,025 passed, 6 skipped, 1 expected failure. Final targeted regression tests: 22 passed; all three persistence witnesses also passed against pre-change Galaxy main.

Heart dev-ship gate: GREEN. manifest drift: end-at-deliverable blocks (generated) — 1 mismatch(es) vs PyAutoMind/repos.yaml. test run status unknown (no report.json). required workflows unverified (workflow list unreadable): PyAutoFit. release validation incomplete: no rehearsal for current source.

Full API Changes

Database-backed fit.value("dataset") now returns the saved dataset HDUs for imaging, in-memory interferometry and array-free interferometry. Directory-backed searches retain their existing dataset files.

Companion Galaxy PR: PyAutoLabs/PyAutoGalaxy#745

Tracks PyAutoLabs/PyAutoGalaxy#744.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Nov 22, 2026
@Jammy2211
Jammy2211 merged commit dbc63e6 into main Nov 22, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/database-dataset-fits branch November 22, 2026 18:11
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant