diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index ed7ec748e..7c5ad2c2f 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -347,12 +347,13 @@ def main(): elif action == "analyze": try: exp_inst.analyze() - put_completed() finally: # 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() + + put_completed() elif action == "examine": examine(ExamineDeviceMgr, ExamineDatasetMgr, obj["file"]) put_completed()