Skip to content

Commit

Permalink
Merge pull request #439 from lsst/tickets/DM-37652
Browse files Browse the repository at this point in the history
DM-37652: Fix logic when warning about a missing exposure in visit
  • Loading branch information
timj committed Jan 25, 2023
2 parents 41314ac + b5a8963 commit 1db3d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/base/defineVisits.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def group(self, exposures: List[DimensionRecord]) -> Iterable[VisitDefinitionDat
# Special case seq_num == 0 since that implies that the
# instrument has no counters and therefore no multi-exposure
# visits.
if first.seq_num == 0:
if first.seq_num != 0:
self.log.warning(
"First exposure for visit %s is not present. Skipping the multi-snap definition.",
visit_key,
Expand Down

0 comments on commit 1db3d26

Please sign in to comment.