imsim ci_lsst tests fail with bad key ccd

Description

When running the ci_lsst imsim tests they fail in the calibration construction phase with a bad key:

root INFO: Running: .../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/bin/constructBias.py ./tmp/imsim --rerun timj/tmp --id visit=3010000..3010009:3 -j 4 LsstCamMapper WARN: Unable to find valid calib root directory CameraMapper INFO: Loading exposure registry from /Users/timj/work/lsstsw3/build/obs_lsst_new/tmp/imsim/registry.sqlite3 LsstCamMapper WARN: Unable to find valid calib root directory bias FATAL: Failed: 'ccd' Traceback (most recent call last): File ".../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/python/lsst/pipe/drivers/constructCalibs.py", line 365, in __call__ result = task.runDataRef(**args) File ".../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/python/lsst/pipe/drivers/constructCalibs.py", line 441, in runDataRef expRefList, level="sensor", ccdKeys=self.config.ccdKeys) File ".../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/python/lsst/pipe/drivers/constructCalibs.py", line 230, in getCcdIdListFromExposures name = dictToTuple(ccdId, ccdKeys) File ".../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/python/lsst/pipe/drivers/constructCalibs.py", line 196, in dictToTuple return tuple(dict_[k] for k in keys) File ".../stack/DarwinX86/pipe_drivers/16.0-10-g0ee56ad/python/lsst/pipe/drivers/constructCalibs.py", line 196, in <genexpr> return tuple(dict_[k] for k in keys) File ".../miniconda/envs/lsst-scipipe/lib/python3.7/collections/__init__.py", line 1025, in __getitem__ raise KeyError(key) KeyError: 'ccd' Failed to process imsim

It is likely a problem with the configurations for imsim in that the default keys are being used rather than the ccdKeys override.

Checklist

Lucidchart Diagrams

Issue Matrix

hide

Activity

Show:
Tim Jenness
February 14, 2019 at 2:40 PM

Thanks. Merged. imsim ci_lsst seems to be working now.

Robert Lupton
February 14, 2019 at 1:43 PM

See single comment on GitHub

Tim Jenness
February 14, 2019 at 1:38 PM

The changes on the PR fix imsim.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Reviewers

Robert Lupton

Story Points

RubinTeam

Components

Sprint

None

Checklist

Created February 14, 2019 at 8:57 AM
Updated April 15, 2019 at 11:56 PM
Resolved February 14, 2019 at 2:40 PM