Commit 48c5eba4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'fix_verbose' into 'master'

Verbose flags were separating parameters

Closes #34

See merge request !34
parents c197e05e c8fbfc63
Pipeline #41507 passed with stages
in 6 minutes and 41 seconds
...@@ -66,7 +66,7 @@ class JobManagerSGE(JobManager): ...@@ -66,7 +66,7 @@ class JobManagerSGE(JobManager):
assert os.path.isdir(job.log_dir), "Please make sure --log-dir `{}' either does not exist or is a directory.".format(job.log_dir) 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 # generate call to the wrapper script
command = make_shell(python, [jman, '-d%s' % ('v'*verbosity), self._database, 'run-job']) command = make_shell(python, [jman, '-%sd' % ('v'*verbosity), self._database, 'run-job'])
q_array = "%d-%d:%d" % array if array else None q_array = "%d-%d:%d" % array if array else None
grid_id = qsub(command, context=self.context, name=name, deps=deps, array=q_array, stdout=log_dir, stderr=log_dir, **kwargs) grid_id = qsub(command, context=self.context, name=name, deps=deps, array=q_array, stdout=log_dir, stderr=log_dir, **kwargs)
......
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