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

Error retrieving spectra headers #83

@dr-rodriguez

Description

@dr-rodriguez

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions