Skip to content

Commit

Permalink
Switch to explicit addDetectorBuilder method.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Oct 28, 2019
1 parent cacaa5b commit 484a6d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/obs/base/yamlCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ def makeCameraFromCatalogs(cameraName, detectorConfigList, nativeSys, transformD

for detectorConfig in detectorConfigList:
# This should build all detector pixel -> focalPlane transforms.
cameraGeom.addDetectorFromConfig(cameraBuilder, detectorConfig,
amplifierDict[detectorConfig.name],
focalPlaneToField)
cameraGeom.addDetectorBuilderFromConfig(cameraBuilder, detectorConfig,
amplifierDict[detectorConfig.name],
focalPlaneToField)

# For reasons I don't understand, some obs_ packages (e.g. HSC) set
# nativeSys to None for their detectors (which doesn't seem to be
Expand Down

0 comments on commit 484a6d7

Please sign in to comment.