Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: skymap
-
Labels:None
-
Story Points:0.5
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
Lauren MacArthur and Simon Krughoff report the following unexpected behavior:
In [15]: skymap = butlerGen3.get("skyMap")
|
In [16]: tractInfo = skymap.generateTract(9813)
|
In [19]: tractInfo.getPatchIndexPair(33)
|
Out[19]: (5, 4.0)
|
(the final tuple should be ints)
This is because of a bug here: https://github.com/lsst/skymap/blob/65b481455761ef12cb9518a3aa7bccbbc3713f14/python/lsst/skymap/tractInfo.py#L200 where the / should be //.
Et voilĂ :