Skip to content

Commit 69d37f2

Browse files
committed
remove the maxrec fix for now
1 parent 30d90a0 commit 69d37f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

astroquery/heasarc/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,6 @@ def _query_execute(self, catalog=None, where=None, *,
351351
where = ' ' + where.strip()
352352
adql = f'SELECT {columns} FROM {catalog}{where}'
353353

354-
# if maxrec is more than the server limit, we set a higher limit
355-
if maxrec is not None and maxrec > 100000:
356-
adql = adql.replace('SELECT ', f'SELECT TOP {maxrec*4} ')
357-
358354
if get_query_payload:
359355
return adql
360356
response = self.query_tap(query=adql, maxrec=maxrec)

0 commit comments

Comments
 (0)