Skip to content

Commit

Permalink
Merge pull request #214 from TheSkyentist/photom-option
Browse files Browse the repository at this point in the history
Apply_photom never checked
  • Loading branch information
gbrammer authored Mar 1, 2024
2 parents 7da640e + 1667937 commit 2ed70d9
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 2ed70d9

Please sign in to comment.