Skip to content

Commit ba6183e

Browse files
committed
add the b1 = -21 test
1 parent bb23878 commit ba6183e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

astroquery/linelists/cdms/tests/test_cdms_remote.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ def test_ch3cn_negqn():
5757
tbl = CDMS.get_molecule('041501')
5858
fourtominusthree = tbl[(tbl['Q1'] == 4) & (tbl['Q2'] == -3)]
5959
assert len(fourtominusthree) >= 1
60+
61+
# check specifically for -21, which is encoded as `b1`
62+
twentytwominustwentyone = tbl[(tbl['Q1'] == 22) & (tbl['Q2'] == -21)]
63+
assert len(twentytwominustwentyone) >= 1
64+
6065
assert tbl['TAG'][0] == -41501
6166

6267

0 commit comments

Comments
 (0)