Commit ecf65900 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Set java drmaa lib before running nextflow

parent 13a05b98
......@@ -127,6 +127,8 @@ def setup_execution_directory(execution):
def execute_analysis(execution):
old_cwd = os.getcwd()
if execution['use_cluster']:
os.environ['NXF_DRMAA'] = '/usr/share/java/drmaa.jar'
os.chdir(execution['directory'])
os.system('nextflow run ' + execution['directory'] + '/main.nf --fasta ' + execution['fasta'] + ' --output ' + execution['output'])
os.chdir(old_cwd)
......
Supports Markdown
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