Skip to content

Commit

Permalink
Merge branch 'tickets/DM-29955'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Oct 21, 2021
2 parents c16f5c0 + 76fc16d commit 288e794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/obs/lsst/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def attachRawWcsFromBoresight(exposure, dataIdForErrMsg=None):
obsInfo = ObservationInfo(md)
visitInfo = MakeRawVisitInfoViaObsInfo.observationInfo2visitInfo(obsInfo, log=logger)
exposure.getInfo().setVisitInfo(visitInfo)
exposure.info.id = obsInfo.detector_exposure_id

# LATISS (and likely others) need flipping, DC2 etc do not
flipX = False
Expand Down
2 changes: 2 additions & 0 deletions python/lsst/obs/lsst/latiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def _computeCcdExposureId(self, dataId):

if 'visit' in dataId:
visit = dataId['visit']
elif 'expId' in dataId:
visit = dataId['expId']
else:
if "controller" in dataId:
controller = dataId["controller"]
Expand Down

0 comments on commit 288e794

Please sign in to comment.