We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe3d5e commit 2862825Copy full SHA for 2862825
astroquery/linelists/cdms/tests/test_cdms_remote.py
@@ -67,12 +67,20 @@ def test_molecule_with_parens():
67
MC = np.ma.core.MaskedConstant()
68
69
for col, val in zip(tbl[0].colnames,
70
- (232588.7246, 0.2828, -4.1005, 3, '293.85404', 45, 66, 506, 303, 44, 14, 30, MC, MC, MC, 45, 13, 33, MC, MC, MC, 'H2C(CN)2', False)):
+ (232588.7246, 0.2828, -4.1005, 3, 293.8540, 445, 66, 506, 303, 44, 14, 30, MC, MC, MC, 45, 13, 33, MC, MC, MC, 'H2C(CN)2', False)):
71
if val is MC:
72
assert tbl[0][col].mask
73
else:
74
assert tbl[0][col] == val
75
76
+ # this test row includes degeneracy = 1225, which covers one of the weird letter-is-number parser cases
77
+ for col, val in zip(tbl[16].colnames,
78
+ (233373.369, 10.26, -4.8704, 3, 1229.0674, 1125, 66, 506, 303, 112, 10, 102, MC, MC, MC, 112, 9, 103, MC, MC, MC, 'H2C(CN)2', False),):
79
+ if val is MC:
80
+ assert tbl[16][col].mask
81
+ else:
82
+ assert tbl[16][col] == val
83
+
84
85
@pytest.mark.remote_data
86
def test_complex_molecule_remote():
0 commit comments