Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:0.5
-
Epic Link:
-
Sprint:AP S18-4
Description
test_camGeomFitsUtils.py issues warnings that appear to be bugs we should fix. Examples:
/Users/rowen/UW/LSST/lsstsw3/build/afw/python/lsst/afw/cameraGeom/fitsUtils.py:76: UserWarning: WARNING: Failed to set setName attribute with None value: setName(): incompatible function arguments. The following argument types are supported:
|
1. (self: lsst.afw.table.ampInfo.ampInfo.AmpInfoRecord, name: str) -> None
|
...
|
/Users/rowen/UW/LSST/lsstsw3/build/afw/python/lsst/afw/cameraGeom/fitsUtils.py:76: UserWarning: WARNING: Failed to set setBBox attribute with None value: setBBox(): incompatible function arguments. The following argument types are supported:
|
1. (self: lsst.afw.table.ampInfo.ampInfo.AmpInfoRecord, bbox: lsst.afw.geom.box.Box2I) -> None
|
See attached log for more info
Attachments
Issue Links
- duplicates
-
DM-12805 Worrying warnings in afw's test_camGeomFitsUtils.py
- Invalid
I think I have fixed the problem. Can you please carefully check to make sure the code still does what you intended? If you aren't sure then I'd rather hold off until we can figure out how to be certain.