From cc14b92d8c62b82ad3f9b60575681c3ec2886873 Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Wed, 10 Feb 2021 13:16:01 +0100
Subject: [PATCH] Remove line breaks for strings for keyboard interaction.

---
 video_prediction_tools/config_runscripts/config_utils.py       | 2 +-
 video_prediction_tools/config_runscripts/generate_runscript.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/video_prediction_tools/config_runscripts/config_utils.py b/video_prediction_tools/config_runscripts/config_utils.py
index 37803435..09da89b6 100644
--- a/video_prediction_tools/config_runscripts/config_utils.py
+++ b/video_prediction_tools/config_runscripts/config_utils.py
@@ -274,7 +274,7 @@ class Config_runscript_base:
                 attempt += 1
                 if attempt < ntries:
                     print(err)
-                    console_str = "Retry!\n"
+                    console_str = "Retry!"
                 else:
                     raise err
 
diff --git a/video_prediction_tools/config_runscripts/generate_runscript.py b/video_prediction_tools/config_runscripts/generate_runscript.py
index 84c4bd94..f167dc49 100644
--- a/video_prediction_tools/config_runscripts/generate_runscript.py
+++ b/video_prediction_tools/config_runscripts/generate_runscript.py
@@ -60,7 +60,7 @@ def main():
     keyboard_interaction = config_dummy.keyboard_interaction
 
     # get workflow step by keyboard interaction
-    target_runscript_req = "Please enter the name of the workflow step for which a runscript should be created:\n"
+    target_runscript_req = "Please enter the name of the workflow step for which a runscript should be created:"
     target_runscript_err = ValueError("Workflow step is unknown. Please select one of the known listed above")
 
     def check_target_runscript(runscript_name, silent=False):
-- 
GitLab