Skip to content
Snippets Groups Projects
Commit 92035b30 authored by Taya Snijder's avatar Taya Snijder
Browse files

changed groupname to use isoformat timestamp

parent 381f900e
No related branches found
No related tags found
1 merge request!145L2SS-397: renamed primary datavalues to just 'values' instead of sst/xst/bst _values...
......@@ -133,9 +133,7 @@ class hdf5_writer:
"""
# create the new hdf5 group based on the timestamp of packets
current_group = self.file.create_group("{}_{}".format(self.mode, self.current_timestamp.strftime("%Y-%m-%d-%H-%M-%S-%f")[:-3]))
# TODO: change and verify this change. This would make the timestamps a lot more consistent
# current_group = self.file.create_group("{}_{}".format(self.mode, self.current_timestamp.isoformat(timespec="milliseconds")))
current_group = self.file.create_group("{}_{}".format(self.mode, self.current_timestamp.isoformat(timespec="milliseconds")))
# store the statistics values for the current group
self.store_function(current_group)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment