-
Type: Story
-
Status: Done (View Workflow)
-
Priority: Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Subsequent to PIPE2D-715, we are getting two rows back at pfsMapper.py:375, which is triggering an assertion failure.
File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ip_isr/18.1.0/python/lsst/ip/isr/isrTask.py", line 1429, in runDataRef isrData = self.readIsrData(sensorRef, ccdExposure) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/ip_isr/18.1.0/python/lsst/ip/isr/isrTask.py", line 937, in readIsrData if self.config.doDefect else None) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/butlerSubset.py", line 206, in get return self.butlerSubset.butler.get(datasetType, self.dataId, **rest) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/butler.py", line 1378, in get location = self._locate(datasetType, dataId, write=False) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/butler.py", line 1297, in _locate location = repoData.repo.map(datasetType, dataId, write=write) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/repository.py", line 242, in map loc = self._mapper.map(*args, **kwargs) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/daf_persistence/18.1.0/python/lsst/daf/persistence/mapper.py", line 166, in map return func(self.validate(dataId), write) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/obs_base/18.1.0/python/lsst/obs/base/cameraMapper.py", line 713, in map_defects defectFitsPath = self._defectLookup(dataId=dataId) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/obs_pfs/w.2021.07a/python/lsst/obs/pfs/pfsMapper.py", line 378, in _defectLookup assert len(rows) == 1 AssertionError