Skip to content

Commit

Permalink
Fixing compartment reports to include magic statement when running mu…
Browse files Browse the repository at this point in the history
…lti-cores
  • Loading branch information
kaeldai committed May 12, 2024
1 parent 704e4e4 commit c475407
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bmtk/utils/reports/compartment/compartment_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c475407

Please sign in to comment.