Skip to content

Commit

Permalink
apparently astropy tries to accumulate all the comments in tables
Browse files Browse the repository at this point in the history
and then writing this to fits file fails
  • Loading branch information
segasai committed Apr 22, 2021
1 parent 9afcb36 commit 42e863f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def read_grid(eep_prefix, outp_prefix):
tabs0.append(curt)

tabs = atpy.vstack(tabs0)
if 'comments' in tabs.meta:
del tabs.meta['comments']
del tabs0
gc.collect()
for k in list(tabs.columns):
Expand Down

0 comments on commit 42e863f

Please sign in to comment.