From 874d298ceb68ffa776592f855365ca5e2e885575 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 13 Dec 2022 14:58:23 +0000 Subject: [PATCH] master/scheduler: Unbreak submitting from repository This is a fix-up to commit 2a58981822b. --- artiq/master/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/master/scheduler.py b/artiq/master/scheduler.py index 6d53ae97e..0d007954a 100644 --- a/artiq/master/scheduler.py +++ b/artiq/master/scheduler.py @@ -142,10 +142,10 @@ class RunPool: wd, repo_msg = self.experiment_db.repo_backend.request_rev( expid["repo_rev"]) else: + if "file" in expid: + expid["file"] = os.path.abspath(expid["file"]) wd, repo_msg = None, None - if "file" in expid: - expid["file"] = os.path.abspath(expid["file"]) run = Run(rid, pipeline_name, wd, expid, priority, due_date, flush, self, repo_msg=repo_msg) if self.log_submissions is not None: