Skip to content

Commit

Permalink
Implemented skip apply_photom
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSkyentist committed Feb 29, 2024
1 parent 0d5c454 commit 1667937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grizli/jwst_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def img_with_flat(input, verbose=True, overwrite=True, apply_photom=True, use_sk
_opup = ''

_ofilt = _hdu[0].header['OFILTER']
if _opup.startswith('GR') | _ofilt.startswith('GR'):
if _opup.startswith('GR') | _ofilt.startswith('GR') | (not apply_photom):
output = with_flat
_photfile = None
else:
Expand Down

0 comments on commit 1667937

Please sign in to comment.