mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
worker_impl: style fixes (NFC)
This commit is contained in:
parent
7688f380b1
commit
a8a5fc213b
@ -200,9 +200,7 @@ def examine(device_mgr, dataset_mgr, file):
|
||||
name = name[:-1]
|
||||
argument_mgr = TraceArgumentManager()
|
||||
scheduler_defaults = {}
|
||||
cls = exp_class( # noqa: F841 (fill argument_mgr)
|
||||
(device_mgr, dataset_mgr, argument_mgr, scheduler_defaults)
|
||||
)
|
||||
exp_class((device_mgr, dataset_mgr, argument_mgr, scheduler_defaults))
|
||||
arginfo = OrderedDict(
|
||||
(k, (proc.describe(), group, tooltip))
|
||||
for k, (proc, group, tooltip) in argument_mgr.requested_args.items()
|
||||
@ -325,8 +323,8 @@ def main():
|
||||
rid, obj["pipeline_name"], expid, obj["priority"])
|
||||
start_local_time = time.localtime(start_time)
|
||||
dirname = os.path.join("results",
|
||||
time.strftime("%Y-%m-%d", start_local_time),
|
||||
time.strftime("%H", start_local_time))
|
||||
time.strftime("%Y-%m-%d", start_local_time),
|
||||
time.strftime("%H", start_local_time))
|
||||
os.makedirs(dirname, exist_ok=True)
|
||||
os.chdir(dirname)
|
||||
argument_mgr = ProcessArgumentManager(expid["arguments"])
|
||||
|
Loading…
Reference in New Issue
Block a user