Skip to content

Commit

Permalink
Merge branch 'master' into jp1860
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse authored Jan 22, 2021
2 parents e79bc4e + a03ec7d commit 31ac154
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ramp_fitting
- Fix a bug in estimating the max number of segments that will be needed
to fit any pixel [#5653]

white_light
-----------

- Fixed error causing multi-segment data to reject int_times
for MJDs [#5566]


0.18.2 (2021-01-19)
Expand Down
2 changes: 1 addition & 1 deletion jwst/white_light/white_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def white_light(input, min_wave=None, max_wave=None):
int_num = input.int_times['integration_number'] # one indexed
mid_utc = input.int_times['int_mid_MJD_UTC']
offset = int_start - int_num[0]
if offset < 0 or int_end >= int_num[-1]:
if offset < 0 or int_end > int_num[-1]:
log.warning("Range of integration numbers in science data extends "
"outside the range in INT_TIMES table.")
log.warning("Can't use INT_TIMES table.")
Expand Down

0 comments on commit 31ac154

Please sign in to comment.