Skip to content

Commit

Permalink
allow pickle for triangular/grid
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Nov 16, 2024
1 parent 6cc485f commit 961339e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/rvspecfit/make_nd.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def execute(spec_setup, prefix=None, regular=False, perturb=True, revision=''):
ret_dict['lognorms'] = lognorms
ret_dict['git_rev'] = git_rev

serializer.save_dict_to_hdf5(savefile, ret_dict)
# for triangular/grid I'm allowing pickling
serializer.save_dict_to_hdf5(savefile, ret_dict, allow_pickle=True)
np.save(('%s/' + INTERPOL_DAT_NAME) % (prefix, spec_setup),
np.ascontiguousarray(specs))

Expand Down

0 comments on commit 961339e

Please sign in to comment.