Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:0.5
-
Epic Link:
-
Sprint:AP S18-2, AP S18-3, AP S18-4, AP S18-5
-
Team:Alert Production
Description
The docstring for cameraGeom.utils.makeImageFromCamera could be cleaned up (return type specified, binSize and other parameters clarified), and the "Unable to fit image for detector" warning message should include the exact exception message that was raised (figuring out the nature of the problem is difficult otherwise). That print() should probably also be turned into a log message.
Paul Price giving you another review here: I think you originally wrote most of this, so you should be able to tell me if my guesses at types, etc. are correct or not. While I was cleaning it up, I decided I might as well just numpydoc-ify the whole thing...
The commits are split up pretty well, so you can look at the numpydoc conversion stuff separately from the other changes.
Jenkins run, though that probably doesn't exercise most of the changes: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/27725/pipeline