Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin committed Jul 29, 2019
1 parent aa58500 commit ab68625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psrqpy/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import astropy.units as aunits
from astropy.constants import c, GM_sun
from astropy.table import Table
import packaging
from packaging import version

from pandas import DataFrame, Series
from copy import deepcopy
Expand All @@ -30,7 +30,7 @@


# check whether to use BarycentricTrueEcliptic of BarycentricMeanEcliptic
if packaging.version.parse(astropy.__version__) < packaging.version.parse("3.2"):
if version.parse(astropy.__version__) >= version.parse("3.2"):
from astropy.coordinates import BarycentricMeanEcliptic
ASTROPY_V32 = True
else:
Expand Down

0 comments on commit ab68625

Please sign in to comment.