Skip to content

Commit 93ce712

Browse files
keflavichbsipocz
authored andcommitted
address review comments
1 parent 560f73d commit 93ce712

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

CHANGES.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ mast
3636
jplspec
3737
^^^^^^^
3838

39-
- Moved to linelists/ [#3455]
39+
- Moved to linelists/. astroquery.jplspec is now deprecated in favor of astroquery.linelists.jplspec [#3455]
40+
41+
linelists.jplspec
42+
^^^^^^^^^^^^^^^^^
43+
44+
- New location for jplspec. astroquery.jplspec is now deprecated in favor of astroquery.linelists.jplspec [#3455]
4045

4146

4247
Infrastructure, Utility and Other Changes and Additions

astroquery/jplspec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
JPL Spectral Catalog (Deprecated Location)
44
-------------------------------------------
55
6-
.. deprecated:: 0.4.8
6+
.. deprecated:: 0.4.12
77
The `astroquery.jplspec` module has been moved to `astroquery.linelists.jplspec`.
88
Please update your imports to use `from astroquery.linelists.jplspec import JPLSpec` instead.
99
This backward compatibility layer will be removed in a future version.

astroquery/linelists/jplspec/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
"""
33
JPL Spectral Catalog
44
--------------------
5-
6-
7-
:author: Giannina Guzman (gguzman2@villanova.edu)
8-
:author: Miguel de Val-Borro (miguel.deval@gmail.com)
9-
105
"""
116
from astropy import config as _config
127

astroquery/linelists/jplspec/core.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55
import astropy.units as u
66
from astropy.io import ascii
7-
from ...query import BaseQuery
8-
from ...utils import async_to_sync
7+
from astroquery.query import BaseQuery
8+
from astroquery.utils import async_to_sync
99
# import configurable items declared in __init__.py
10-
from . import conf
11-
from . import lookup_table
10+
from astroquery.linelists.jplspec import conf, lookup_table
1211
from astroquery.exceptions import EmptyResponseError, InvalidQueryError
1312

1413

astroquery/linelists/jplspec/tests/test_jplspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from astropy import units as u
66
from astropy.table import Table
7-
from ....jplspec import JPLSpec
7+
from astroquery.linelists.jplspec import JPLSpec
88

99
file1 = 'CO.data'
1010
file2 = 'CO_6.data'

astroquery/linelists/jplspec/tests/test_jplspec_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from astropy import units as u
33
from astropy.table import Table
44

5-
from ....jplspec import JPLSpec
5+
from astroquery.linelists.jplspec import JPLSpec
66

77

88
@pytest.mark.remote_data

0 commit comments

Comments
 (0)