mockslurm.process_db.get_db_file_handle¶
- mockslurm.process_db.get_db_file_handle(db_file: Path) File [source]¶
Open the database HDF5 file in append mode.
On success, the returned h5py.File contains a dataset with the expected dtypes of the database.
- Parameters:
db_file (Path) – Path to the database file to open
- Returns:
File handle to the database
- Return type:
h5py.File