mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
master: use full year in result folder name
This commit is contained in:
parent
965dd89b61
commit
ceb02b42cb
@ -9,7 +9,7 @@ from artiq.protocols.sync_struct import Notifier, process_mod
|
|||||||
|
|
||||||
def get_hdf5_output(start_time, rid, name):
|
def get_hdf5_output(start_time, rid, name):
|
||||||
dirname = os.path.join("results",
|
dirname = os.path.join("results",
|
||||||
time.strftime("%y-%m-%d", start_time),
|
time.strftime("%Y-%m-%d", start_time),
|
||||||
time.strftime("%H-%M", start_time))
|
time.strftime("%H-%M", start_time))
|
||||||
filename = "{:09}-{}.h5".format(rid, name)
|
filename = "{:09}-{}.h5".format(rid, name)
|
||||||
os.makedirs(dirname, exist_ok=True)
|
os.makedirs(dirname, exist_ok=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user