Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Error retrieving spectra headers #83

Open
dr-rodriguez opened this issue Jan 25, 2017 · 0 comments
Open

Error retrieving spectra headers #83

dr-rodriguez opened this issue Jan 25, 2017 · 0 comments

Comments

@dr-rodriguez
Copy link
Member

In some cases, astrodbkit has problems retrieving the header for certain spectra.
For example:

x = db.query("SELECT spectrum FROM spectra WHERE id=398", fmt='dict', fetch='one')['spectrum']
x.header

will crash for ids 398 (a text file) and 233 (a fits file)

Need to see what could be the cause(s) here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant