mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
worker_impl: do not write results without rid (#2020)
This commit is contained in:
parent
8f3d06a515
commit
19824cefba
@ -352,7 +352,10 @@ def main():
|
|||||||
exp_inst.analyze()
|
exp_inst.analyze()
|
||||||
put_completed()
|
put_completed()
|
||||||
finally:
|
finally:
|
||||||
write_results()
|
# browser's analyze shouldn't write results,
|
||||||
|
# since it doesn't run the experiment and cannot have rid
|
||||||
|
if rid is not None:
|
||||||
|
write_results()
|
||||||
elif action == "examine":
|
elif action == "examine":
|
||||||
examine(ExamineDeviceMgr, ExamineDatasetMgr, obj["file"])
|
examine(ExamineDeviceMgr, ExamineDatasetMgr, obj["file"])
|
||||||
put_completed()
|
put_completed()
|
||||||
|
Loading…
Reference in New Issue
Block a user