Skip to content

Use h5py.File as contextmanager when reading posterior samples

Duncan Macleod requested to merge duncanmmacleod/em-bright:h5py-close-file into main

This MR patches ligo.em_bright.em_bright.source_classification_pe() to ensure that the HDF5 file gets closed once we're done with it.

Merge request reports