Skip to content

Commit

Permalink
Merge pull request #2340 from bsipocz/remote_tests_fix
Browse files Browse the repository at this point in the history
MNT: Remote tests fixes
  • Loading branch information
bsipocz authored Mar 29, 2022
2 parents 621a13f + 5e9ecc1 commit 571cf75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions astroquery/hitran/tests/test_hitran_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_query_remote():
tbl = Hitran.query_lines(molecule_number=1, isotopologue_number=1,
min_frequency=0. / u.cm, max_frequency=10. / u.cm)
assert isinstance(tbl, Table)
assert len(tbl) == 122
assert len(tbl) == 29
assert set(tbl.keys()) == set(['molec_id', 'local_iso_id', 'nu', 'sw', 'a',
'gamma_air', 'gamma_self', 'elower',
'n_air', 'delta_air', 'global_upper_quanta',
Expand All @@ -22,4 +22,4 @@ def test_query_remote():
'line_mixing_flag', 'gp', 'gpp'])
assert tbl['molec_id'][0] == 1
assert tbl['local_iso_id'][0] == 1
np.testing.assert_almost_equal(tbl['nu'][0], 0.072059)
np.testing.assert_almost_equal(tbl['nu'][0], 0.072049)
4 changes: 2 additions & 2 deletions astroquery/skyview/tests/data/survey_dict.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"X-ray:SwiftBAT": ["BAT SNR 14-195", "BAT SNR 14-20", "BAT SNR 20-24", "BAT SNR 24-35", "BAT SNR 35-50", "BAT SNR 50-75", "BAT SNR 75-100", "BAT SNR 100-150", "BAT SNR 150-195"],
"UV": ["GALEX Near UV", "GALEX Far UV", "ROSAT WFC F1", "ROSAT WFC F2", "EUVE 83 A", "EUVE 171 A", "EUVE 405 A", "EUVE 555 A"],
"Optical:SDSS": ["SDSSg", "SDSSi", "SDSSr", "SDSSu", "SDSSz", "SDSSdr7g", "SDSSdr7i", "SDSSdr7r", "SDSSdr7u", "SDSSdr7z"],
"OtherOptical": ["Mellinger Red", "Mellinger Green", "Mellinger Blue", "NEAT", "H-Alpha Comp", "SHASSA H", "SHASSA CC", "SHASSA C", "SHASSA Sm"],
"OtherOptical": ["TESS", "Mellinger Red", "Mellinger Green", "Mellinger Blue", "H-Alpha Comp", "SHASSA H", "SHASSA CC", "SHASSA C", "SHASSA Sm"],
"IR:IRAS": ["IRIS 12", "IRIS 25", "IRIS 60", "IRIS 100", "SFD100m", "SFD Dust Map", "IRAS 12 micron", "IRAS 25 micron", "IRAS 60 micron", "IRAS 100 micron"],
"IR:Planck": ["Planck 857 I", "Planck 545 I", "Planck 353 I", "Planck 353 Q", "Planck 353 U", "Planck 353 PI", "Planck 353 PA", "Planck 353 PI/I", "Planck 217 I", "Planck 217 Q", "Planck 217 U", "Planck 217 PI", "Planck 217 PA", "Planck 217 PI/I", "Planck 143 I", "Planck 143 Q", "Planck 143 U", "Planck 143 PI", "Planck 143 PA", "Planck 143 PI/I", "Planck 100 I", "Planck 100 Q", "Planck 100 U", "Planck 100 PI", "Planck 100 PA", "Planck 100 PI/I", "Planck 070 I", "Planck 070 Q", "Planck 070 U", "Planck 070 PI", "Planck 070 PA", "Planck 070 PI/I", "Planck 044 I", "Planck 044 Q", "Planck 044 U", "Planck 044 PI", "Planck 044 PA", "Planck 044 PI/I", "Planck 030 I", "Planck 030 Q", "Planck 030 U", "Planck 030 PI", "Planck 030 PA", "Planck 030 PI/I"],
"IR:WMAP&COBE": ["WMAP ILC", "WMAP Ka", "WMAP K", "WMAP Q", "WMAP V", "WMAP W", "COBE DIRBE/AAM", "COBE DIRBE/ZSMA"],
Expand All @@ -16,7 +16,7 @@
"SwiftUVOT class=": ["UVOT WHITE Intensity", "UVOT V Intensity", "UVOT B Intensity", "UVOT U Intensity", "UVOT UVW1 Intensity", "UVOT UVM2 Intensity", "UVOT UVW2 Intensity"],
"Optical:DSS class=": ["DSS", "DSS1 Blue", "DSS1 Red", "DSS2 Red", "DSS2 Blue", "DSS2 IR"],
"IR:2MASS class=": ["2MASS-J", "2MASS-H", "2MASS-K"],
"IR:UKIDSS class=": ["UKIDSS-Y", "UKIDSS-J", "UKIDSS-H", "UKIDSS-K"],
"IR:UKIDSS class=": ["UKIDSS-Y", "UKIDSS-J", "UKIDSS-H", "UKIDSS-K", "UKIDSS-1-0S1"],
"IR:WISE class=": ["WISE 3.4", "WISE 4.6", "WISE 12", "WISE 22"],
"IR:AKARI class=": ["AKARI N60", "AKARI WIDE-S", "AKARI WIDE-L", "AKARI N160"],
"Radio:MHz class=": ["SUMSS 843 MHz", "0408MHz", "WENSS", "TGSS ADR1", "VLSSr", "0035MHz", "0022MHz"],
Expand Down

0 comments on commit 571cf75

Please sign in to comment.