Fix file format bug

This commit is contained in:
2018-12-06 17:53:11 +01:00
parent 74b32fd740
commit f6f18bd80d
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -185,6 +185,8 @@ void ProcessManager::write_h5()
cout << " does not belong to current file. Write format before the file will be closed." << endl;
#endif
writer->write_metadata_to_file();
write_h5_format(writer->get_h5_file());
}
@@ -276,6 +278,8 @@ void ProcessManager::write_h5()
boost::this_thread::sleep_for(boost::chrono::milliseconds(config::parameters_read_retry_interval));
}
writer->write_metadata_to_file();
write_h5_format(writer->get_h5_file());
}