Skip to content

Commit

Permalink
Fix astropy.utils.OrderedDict deprecation
Browse files Browse the repository at this point in the history
A fix for the warning: `WARNING: AstropyDeprecationWarning: astropy.utils.compat.odict.OrderedDict is now deprecated - import OrderedDict from the collections module instead [astropy.utils.compat.odict]`
  • Loading branch information
gkanarek committed Jul 20, 2016
1 parent 86dc36a commit 90f8703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specutils/wcs/specwcs.py
Expand Up @@ -10,7 +10,7 @@
from ..models.BSplineModel import BSplineModel
import astropy.units as u

from astropy.utils import OrderedDict
from collections import OrderedDict
from astropy.io import fits
import copy
from astropy import constants
Expand Down

0 comments on commit 90f8703

Please sign in to comment.