From 14a1677b97b4920779d2eea778efa14e5d1afbe8 Mon Sep 17 00:00:00 2001 From: AxelCarayon <axel.carayon@gmail.com> Date: Tue, 1 Feb 2022 17:46:00 +0100 Subject: [PATCH] =?UTF-8?q?propose=20de=20v=C3=A9rifier=20le=20r=C3=A9sult?= =?UTF-8?q?at=20et=20d'annuler=20le=20commit=20si=20besoin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- registerExperiment.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/registerExperiment.py b/registerExperiment.py index f667035..eaddf2a 100644 --- a/registerExperiment.py +++ b/registerExperiment.py @@ -245,4 +245,7 @@ def run(folder) -> None : scanParameters() checkGeneratedFiles() writeInYaml() - #pushBranch() + print("Please check the experimentResume.yaml, if everything is correct, press enter to continue, otherwise type \"abort\"") + if input() == "abort": + raise Exception("Aborted") + pushBranch() -- GitLab