Skip to content

Commit b6d723f

Browse files
keflavichclaude
andcommitted
Fix style and add changelog entry for jplspec PR
- Fix E131 hanging-indent in jplspec/__init__.py - Drop unused EmptyResponseError import from test_jplspec_remote - Add CHANGES.rst entry for astropy#3547 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0430d22 commit b6d723f

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ linelists.jplspec
159159
^^^^^^^^^^^^^^^^^
160160

161161
- New location for jplspec. astroquery.jplspec is now deprecated in favor of astroquery.linelists.jplspec [#3455]
162+
- Added ``use_getmolecule`` option to ``query_lines`` to bypass the JPL query
163+
service and retrieve full molecule catalogs via ``get_molecule``, and added a
164+
configurable ``ftp_cat_server`` with a Wayback Machine fallback. [#3547]
162165

163166
mpc
164167
^^^

astroquery/linelists/jplspec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Conf(_config.ConfigNamespace):
1818
ftp_cat_server = _config.ConfigItem(
1919
['https://spec.jpl.nasa.gov/ftp/pub/catalog/',
2020
'https://web.archive.org/web/20250630185813/https://spec.jpl.nasa.gov/ftp/pub/catalog/'],
21-
'JPL FTP Catalog URL'
21+
'JPL FTP Catalog URL'
2222
)
2323

2424
timeout = _config.ConfigItem(

astroquery/linelists/jplspec/tests/test_jplspec_remote.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from astropy.table import Table
44

55
from astroquery.linelists.jplspec import JPLSpec
6-
from astroquery.exceptions import EmptyResponseError
76

87

98
@pytest.mark.remote_data

0 commit comments

Comments
 (0)