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 0570ed4 commit ffa6d2eCopy full SHA for ffa6d2e
1 file changed
astroquery/gaia/core.py
@@ -345,7 +345,7 @@ def __get_data_files(output_file, path):
345
tables = []
346
with fits.open(value, memmap=False) as hduList:
347
for hdu in hduList:
348
- if isinstance(hdu, TableHDU) or isinstance(hdu, BinTableHDU):
+ if isinstance(hdu, (TableHDU, BinTableHDU)):
349
table = Table.read(hdu, format='fits')
350
Gaia.correct_table_units(table)
351
tables.append(table)
0 commit comments