Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Validation
-
Labels:None
-
Story Points:0.25
-
Epic Link:
-
Team:SQuaRE
Description
When I run examples/runDecamQuickTest.sh I get the following failure (using master c1ea4c0):
/Users/rowen/UW/LSST/lsstsw/miniconda/lib/python2.7/site-packages/scipy/optimize/minpack.py:690: OptimizeWarning: Covariance of the parameters could not be estimated
|
category=OptimizeWarning)
|
Traceback (most recent call last):
|
File "/Users/rowen/UW/LSST/testdata/validate_drp/bin/validateDrp.py", line 89, in <module>
|
if args.configFile and kwargs['requirements']:
|
KeyError: 'requirements'
|
Validation failed
|
Michael Wood-Vasey traced it to the following code:
if args.configFile and kwargs['requirements']:
|
and suggested the following change:
if args.configFile and "requirements" in kwargs:
|
Looks great. Merge away.