Skip to content

Commit

Permalink
only pre-compute combined_wcs if using gaia
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Apr 16, 2024
1 parent 7c2229a commit 99dffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/tweakreg/tweakreg_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def process(self, input):
# the fiducial and search radius).
# This is done prior to 'local' matching to be consistent with the
# old code.
if align_to_abs_refcat:
if align_to_abs_refcat and self.abs_refcat.strip().upper() in SINGLE_GROUP_REFCAT:
# FIXME should this be after 'local' alignment?
combined_wcs = wcs_from_footprints(
None,
Expand Down

0 comments on commit 99dffb8

Please sign in to comment.