Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Savchenko authored and Volodymyr Savchenko committed Oct 17, 2024
1 parent 031d77e commit ef386c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oda_api/data_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ def from_fits_hdu(cls,hdu,name=None):
r = cls(data=hdu.data,
data_header={k:v for k, v in hdu.header.items()},
hdu_type=cls._map_hdu_type(hdu),name=name)
# this is needed to re-read the file
# r.to_fits_hdu()
# this is needed to re-read the file due to variable length file
r.to_fits_hdu()
return r


Expand Down

0 comments on commit ef386c0

Please sign in to comment.