Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
cedbe25b
Commit
cedbe25b
authored
Jul 12, 2018
by
Floreal Cabanettes
Browse files
Fix: if batch system type is local, don't try to import drmaa
parent
6e5ed78f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/bin/local_scheduler.py
View file @
cedbe25b
...
...
@@ -18,7 +18,7 @@ me = singleton.SingleInstance()
config_reader
=
AppConfigReader
()
# Add DRMAA lib in env:
if
config_reader
.
drmaa_lib_path
is
not
None
:
if
config_reader
.
drmaa_lib_path
is
not
None
and
config_reader
.
batch_system_type
!=
"local"
:
os
.
environ
[
"DRMAA_LIBRARY_PATH"
]
=
config_reader
.
drmaa_lib_path
try
:
import
drmaa
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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