Skip to content

Commit

Permalink
Merge pull request #36 from tstibor/master
Browse files Browse the repository at this point in the history
Fix module 'astropy.units' has no attribute 'dec'
  • Loading branch information
mommermi committed Jan 22, 2019
2 parents 74d0947 + cb2d1a9 commit 6b6abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pp_distill.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def serendipitous_variablestars(catalogs, display=True):
+ 'a %.2f deg radius') %
(ra_deg, dec_deg, rad_deg))

field = coord.SkyCoord(ra=ra_deg, dec=dec_deg, unit=(u.dec, u.dec),
field = coord.SkyCoord(ra=ra_deg, dec=dec_deg, unit=(u.deg, u.deg),
frame='icrs')

vquery = Vizier(columns=['Name', 'RAJ2000', 'DEJ2000'])
Expand Down

0 comments on commit 6b6abf1

Please sign in to comment.