mirror of https://github.com/m-labs/artiq.git
worker: use unix time for HDF5 start_time
This commit is contained in:
parent
7976127f6c
commit
c50555e11c
|
@ -232,7 +232,7 @@ def main():
|
||||||
dataset_mgr.write_hdf5(f.create_group("datasets"))
|
dataset_mgr.write_hdf5(f.create_group("datasets"))
|
||||||
f["artiq_version"] = artiq_version
|
f["artiq_version"] = artiq_version
|
||||||
f["rid"] = rid
|
f["rid"] = rid
|
||||||
f["start_time"] = start_time
|
f["start_time"] = int(time.mktime(start_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":
|
||||||
|
|
Loading…
Reference in New Issue