Skip to content

Commit 932d0d7

Browse files
committed
logic fixes
1 parent e5a1a04 commit 932d0d7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/utils.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const UNDEFINED = 987654321.0e99 # from WCS.jl
2-
31
"""
42
wcs_to_celestial_frame(wcs::WCSTransform)
53
@@ -9,12 +7,6 @@ The reference frame supported in Julia are FK5, ICRS and Galactic.
97
function wcs_to_celestial_frame(wcs::WCSTransform)
108
radesys = wcs.radesys
119

12-
if wcs.equinox != UNDEFINED
13-
equinox = wcs.equinox
14-
else
15-
equinox = nothing
16-
end
17-
1810
xcoord = wcs.ctype[1][1:4]
1911
ycoord = wcs.ctype[2][1:4]
2012

0 commit comments

Comments
 (0)