Skip to content

Commit fe2614f

Browse files
committed
ENH: list_catalog to return a Table
1 parent f858f36 commit fe2614f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

astroquery/ipac/irsa/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ def list_catalogs(self, full=False, cache=False):
304304
Parameters
305305
----------
306306
full : bool
307-
If True returns the full schema VOTable. If False returns a dictionary of the table names and
308-
their description.
307+
If True returns the full schema as a `~astropy.table.Table`.
308+
If False returns a dictionary of the table names and their description.
309309
"""
310-
tap_tables = Irsa.query_tap("SELECT * FROM TAP_SCHEMA.tables")
310+
tap_tables = Irsa.query_tap("SELECT * FROM TAP_SCHEMA.tables").to_table()
311311

312312
if full:
313313
return tap_tables

0 commit comments

Comments
 (0)