Skip to content

Commit

Permalink
Use environ context for tweak align
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSkyentist committed Jan 27, 2025
1 parent 59ec8d4 commit 58b6787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grizli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7996,6 +7996,8 @@ def drizzle_from_visit(
if scale_photom:
# Scale to a particular JWST context and update header keywords
# like PHOTFLAM, PHOTFNU
if 'CRDS_CONTEXT' in os.environ:
context = os.environ['CRDS_CONTEXT']
_scale_jwst_photom = jwst_crds_photom_scale(
flt,
update=True,
Expand Down

0 comments on commit 58b6787

Please sign in to comment.