Commit cedbe25b authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix: if batch system type is local, don't try to import drmaa

parent 6e5ed78f
......@@ -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
import drmaa
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