Skip to content

Commit

Permalink
Merge pull request #5 from bmorris3/tom-gwcs-fix-pr
Browse files Browse the repository at this point in the history
Stop GWCS bounding box override in imviz parser
  • Loading branch information
astrofrog authored Dec 11, 2024
2 parents ce15aeb + 6ac1336 commit 2f3016a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ Other Changes and Additions
New Features
------------

- Prevent image wrapping in Imviz with Roman L2 images with GWCS. [#2887]

Cubeviz
^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion jdaviz/configs/imviz/plugins/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _parse_image(app, file_obj, data_label, ext=None, parent=None):
# NOTE: if extending this beyond GWCS, the mouseover logic
# for outside_*_bounding_box should also be updated.
data.coords._orig_bounding_box = data.coords.bounding_box
data.coords.bounding_box = None

if not data.meta.get(_wcs_only_label, False):
data_label = app.return_data_label(data_label, alt_name="image_data")

Expand Down

0 comments on commit 2f3016a

Please sign in to comment.