Commit 7ddc9d33 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

improve the error message

parent d1b6b762
Pipeline #14605 passed with stages
in 15 minutes and 18 seconds
......@@ -60,7 +60,7 @@ class JobManagerSGE(JobManager):
# make sure log directory is created and is a directory
makedirs_safe(job.log_dir)
assert os.path.isdir(job.log_dir), 'Please make sure --log-dir either does not exist or is a directory.'
assert os.path.isdir(job.log_dir), "Please make sure --log-dir `{}' either does not exist or is a directory.".format(job.log_dir)
# generate call to the wrapper script
command = make_shell(python, [jman, '-d%s' % ('v'*verbosity), self._database, 'run-job'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment