Skip to content

Commit

Permalink
only table astropy#1 is a bintablehud
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Apr 21, 2017
1 parent 84d3621 commit 24781b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specutils/io/default_loaders/tabular_fits_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def identify_tabular_fits(origin, *args, **kwargs):
return (isinstance(args[0], six.string_types) and
os.path.splitext(args[0].lower())[1] == '.fits' and
isinstance(fits.open(args[0]), fits.BinTableHDU)
isinstance(fits.open(args[0])[1], fits.BinTableHDU)
)


Expand Down

0 comments on commit 24781b5

Please sign in to comment.