Fix Version/s: None
Team:Data Release Production
In perusing the stack for examples of mask usage and manipulation, I came across this funtction:
It looks like there are two issues with it:
1) lsst.afw.image.MaskX has no attribute removeMaskPlaneDict, so any call to the function results in:
The fix appears to be removeMaskPlaneDict --> removeMaskPlane
2) the function ignores the variable name, i.e. does not pass it to the call to [_sic_!] removeMaskPlaneDict(). Having corrected the function name to removeMaskPlane, the we get the following:
The fix here is to pass name to the function.
Finally, I also noticed that the MultibandMask class is missing the removeAndClearMaskPlane() function. I don't think this was intentional, so one should be added.
|Status||To Do [ 10001 ]||In Progress [ 3 ]|
|Reviewers||Ian Sullivan [ sullivan ]|
|Status||In Progress [ 3 ]||In Review [ 10004 ]|
|Status||In Review [ 10004 ]||Reviewed [ 10101 ]|
|Resolution||Done [ 10000 ]|
|Status||Reviewed [ 10101 ]||Done [ 10002 ]|