BUGFIX: saving list with None to hdf5
Compare changes
+ 1
− 1
@@ -283,7 +283,7 @@ def encode_for_hdf5(key, item):
Fixes issue #709 (closed) by implementing solution proposed by @colm.talbot.
After merge ebe10697, Bilby couldn't save the result to hdf5 file if it contained a list with None
inside (for example if one of the used priors was initiated without a name).