diff --git a/bmtk/utils/reports/compartment/compartment_writer.py b/bmtk/utils/reports/compartment/compartment_writer.py index e5ae9b1f8..819fdf93c 100644 --- a/bmtk/utils/reports/compartment/compartment_writer.py +++ b/bmtk/utils/reports/compartment/compartment_writer.py @@ -411,6 +411,8 @@ def merge(self): barrier() if self._mpi_size > 1 and self._mpi_rank == 0: h5final = h5py.File(self._final_fpath, 'w') + add_hdf5_version(h5final) + add_hdf5_magic(h5final) tmp_reports = [CompartmentReader(name) for name in self.temp_files if os.path.exists(name)] populations = set()