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
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1.3.1 (Unreleased)
==================

- Move from .write to .save on images for new JWST version
- Fix occasional all-NaN issue in ``single_tile_destripe``
- Fix backgrounds being wrongly moved in ``lv1_step``
- Moved ``astrometric_align`` to a combined step, to avoid list ordering issues
Expand Down
4 changes: 2 additions & 2 deletions pjpipe/astrometric_align/astrometric_align_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def align_to_aligned_image(
# Update WCS info
updated_im = lv3_update_fits_wcsinfo(im=target_im, hdr=target_hdr)

updated_im.write(aligned_file)
updated_im.save(aligned_file)

# Also apply this to each individual crf file
crf_files = glob.glob(
Expand Down Expand Up @@ -776,7 +776,7 @@ def tweakreg_align(
hdr=target_hdr,
)

target_im.write(aligned_file)
target_im.save(aligned_file)

# Also apply this to each individual crf file
crf_files = glob.glob(
Expand Down