AttributeError: 'Dataset' object has no attribute 'value' with h5py >= 3.0
Example traceback:
Traceback (most recent call last):
File "/home/patrick/.conda/envs/core/envs/gstlal-h5py/bin/gstlal_inspiral_create_prior_diststats", line 177, in <module>
rankingstat = far.RankingStat(template_ids = template_ids, instruments = options.instrument, delta_t = options.coincidence_threshold, min_instruments = options.min_instruments, population_model_file = options.mass_model_file, dtdphi_file = options.dtdphi_file, horizon_factors = horizon_factors, idq_file = options.idq_file)
File "/home/patrick/.conda/envs/core/envs/gstlal-h5py/lib/python3.7/site-packages/gstlal/far.py", line 135, in __init__
self.numerator = inspiral_lr.LnSignalDensity(template_ids = template_ids, instruments = instruments, delta_t = delta_t, population_model_file = population_model_file, dtdphi_file = dtdphi_file, min_instruments = min_instruments, horizon_factors = horizon_factors, idq_file = idq_file)
File "/home/patrick/.conda/envs/core/envs/gstlal-h5py/lib/python3.7/site-packages/gstlal/stats/inspiral_lr.py", line 340, in __init__
self.population_model = inspiral_intrinsics.SourcePopulationModel(self.template_ids, filename = self.population_model_file)
File "/home/patrick/.conda/envs/core/envs/gstlal-h5py/lib/python3.7/site-packages/gstlal/stats/inspiral_intrinsics.py", line 115, in __init__
coefficients = model['coefficients'].value
AttributeError: 'Dataset' object has no attribute 'value'