Skip to content

Commit

Permalink
Fix region bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Jun 24, 2024
1 parent d143bfd commit e35bfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/consdb/hinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def region(
x = bbox.getMinX() + bbox.getWidth() * offset_x
y = bbox.getMinY() + bbox.getHeight() * offset_y
point = skywcs.pixelToSky(x, y)
region += f" {point.getLongitude().asDegrees():.6f} {point.getLatitude.asDegrees():.6f}"
region += f" {point.getLongitude().asDegrees():.6f} {point.getLatitude().asDegrees():.6f}"
return region


Expand Down

0 comments on commit e35bfca

Please sign in to comment.