master: store run_time and start_time as doubles

This commit is contained in:
Chris Ballance 2017-08-03 10:41:57 +01:00
parent 223501f811
commit cc289dd3a0
2 changed files with 4 additions and 2 deletions

View File

@ -51,6 +51,8 @@ Release notes
* The PDQ(2/3) driver has been removed and is now being maintained out-of tree * The PDQ(2/3) driver has been removed and is now being maintained out-of tree
at https://github.com/m-labs/pdq. All SPI/USB driver layers, Mediator, at https://github.com/m-labs/pdq. All SPI/USB driver layers, Mediator,
CompoundPDQ and examples/documentation has been moved. CompoundPDQ and examples/documentation has been moved.
* The results keys start_time and run_time are now stored as doubles, rather
than ints.
2.4 2.4

View File

@ -287,8 +287,8 @@ def main():
dataset_mgr.write_hdf5(f) dataset_mgr.write_hdf5(f)
f["artiq_version"] = artiq_version f["artiq_version"] = artiq_version
f["rid"] = rid f["rid"] = rid
f["start_time"] = int(start_time) f["start_time"] = start_time
f["run_time"] = int(run_time) f["run_time"] = run_time
f["expid"] = pyon.encode(expid) f["expid"] = pyon.encode(expid)
put_object({"action": "completed"}) put_object({"action": "completed"})
elif action == "examine": elif action == "examine":