Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
software
gridtk
Commits
7ddc9d33
Commit
7ddc9d33
authored
Dec 05, 2017
by
Amir Mohammadi
Browse files
improve the error message
parent
d1b6b762
Pipeline
#14605
passed with stages
in 15 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gridtk/sge.py
View file @
7ddc9d33
...
...
@@ -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'
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment