Skip to content

Commit d529d48

Browse files
committed
BUG: parsing out CADDIR CATDIR -- -- -- -- -- -- -- -- — lines as junk
1 parent 1ba336e commit d529d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/jplspec/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _parse_result(self, response, *, verbose=False):
164164
# Warning for a result with more than 1000 lines:
165165
# THIS form is currently limited to 1000 lines.
166166
result = ascii.read(response.text, header_start=None, data_start=0,
167-
comment=r'THIS|^\s{12,14}\d{4,6}.*',
167+
comment=r'THIS|^\s{12,14}\d{4,6}.*|CADDIR CATDIR',
168168
names=('FREQ', 'ERR', 'LGINT', 'DR', 'ELO', 'GUP',
169169
'TAG', 'QNFMT', 'QN\'', 'QN"'),
170170
col_starts=(0, 13, 21, 29, 31, 41, 44, 51, 55, 67),

0 commit comments

Comments
 (0)