From 7072e9c50eb8e1e39f4a53b0616285013258011b Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 17 Sep 2019 13:17:10 +0200 Subject: [PATCH] Update basic.py --- pysqa/basic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pysqa/basic.py b/pysqa/basic.py index 6b4c8153..5bc38ee3 100644 --- a/pysqa/basic.py +++ b/pysqa/basic.py @@ -132,6 +132,8 @@ def submit_job( Returns: int: """ + if " " in working_directory: + raise ValueError("Spaces in the working_directory are not supported!") working_directory, queue_script_path = self._write_queue_script( queue=queue, job_name=job_name,