Skip to content

Commit 7956e9a

Browse files
authored
Merge pull request #2833 from bsipocz/MAINT_fix_remote_tests_Sep2023
MAINT: fix various remote_data failures
2 parents 3b2110f + eed0a95 commit 7956e9a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

astroquery/lamda/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _find_datfiles(self, url, base_url, *, raise_for_status=False):
166166
# assume this URL does not contain data b/c it does not exist
167167
return []
168168

169-
soup = BeautifulSoup(response.content)
169+
soup = BeautifulSoup(response.content, features="html5lib")
170170

171171
links = soup.find_all('a', href=True)
172172

docs/cadc/cadc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ these collections:
3030
...
3131
APASS : {'Description': 'The APASS collection at the CADC', 'Bands': ['Optical', 'Infrared|Optical', '']}
3232
BLAST : {'Description': 'The BLAST collection at the CADC', 'Bands': ['', 'Millimeter']}
33-
BRITE-Constellation : {'Description': 'The BRITE-Constellation collection at the CADC', 'Bands': ['', 'Optical']}
34-
CFHT : {'Description': 'The CFHT collection at the CADC', 'Bands': ['Infrared|Optical', 'Infrared|Optical|UV', '', 'Optical', 'Infrared']}
33+
BRITE-Constellation : {'Description': 'The BRITE-Constellation collection at the CADC', 'Bands': ['Optical']}
34+
CFHT : {'Description': 'The CFHT collection at the CADC', 'Bands': ['Infrared|Optical', 'Optical|UV|EUV|X-ray|Gamma-ray', 'Infrared|Optical|UV', '', 'Optical', 'Infrared']}
3535
CFHTMEGAPIPE : {'Description': 'The CFHTMEGAPIPE collection at the CADC', 'Bands': ['', 'Infrared|Optical', 'Optical']}
3636
CFHTTERAPIX : {'Description': 'The CFHTTERAPIX collection at the CADC', 'Bands': ['Infrared|Optical', 'Optical', 'Infrared']}
3737
CFHTWIRWOLF : {'Description': 'The CFHTWIRWOLF collection at the CADC', 'Bands': ['Infrared']}

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ All query tools allow coordinate-based queries:
164164
... ... ... ... ...
165165
2MASS J05353573-0525256 05 35 35.7755 ... 2020yCat.1350....0G 1
166166
V* V2114 Ori 05 35 01.6720 ... 2020yCat.1350....0G 1
167-
Length = 3273 rows
167+
Length = 3272 rows
168168

169169
For additional guidance and examples, read the documentation for the individual services below.
170170

docs/ipac/irsa/most.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ asteroid `Victoria <https://en.wikipedia.org/wiki/12_Victoria>`_ as:
358358
>>> Most.query_object(output_mode="Brief",
359359
... obj_name="Victoria",
360360
... obs_begin="2014-05-29",
361-
... obs_end="2014-05-30")
361+
... obs_end="2014-05-30") # doctest: +IGNORE_OUTPUT
362362
<Table length=10>
363363
ra_obj dec_obj sun_dist geo_dist ... moon_sep saa_sep qual_frame image_set
364364
float64 float64 float64 float64 ... float64 float64 int64 int64
@@ -388,7 +388,7 @@ verbose output modes - ``Regular`` or ``Full``.
388388
<class 'dict'>
389389
>>> matched.keys()
390390
dict_keys(['results', 'metadata', 'region', 'fits_tarball', 'region_tarball'])
391-
>>> matched["metadata"]
391+
>>> matched["metadata"] # doctest: +IGNORE_OUTPUT
392392
<Table length=10>
393393
ra_obj dec_obj sun_dist geo_dist ... moon_sep saa_sep qual_frame image_set
394394
float64 float64 float64 float64 ... float64 float64 int64 int64

docs/ipac/ned/ned.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ for the specified object. We look at a simple example:
237237

238238
>>> from astroquery.ipac.ned import Ned
239239
>>> result_table = Ned.get_table("3C 273", table='positions')
240-
>>> print(result_table)
240+
>>> print(result_table) # doctest: +IGNORE_OUTPUT
241241
No. RA ... Published Frequence Mode Qualifiers
242242
...
243243
--- -------------- ... ------------------------ -------------------------

0 commit comments

Comments
 (0)