Commit 541ec443 authored by Thomas Van Parys's avatar Thomas Van Parys
Browse files

Add shebang to launcher (fixes #59)

parent 47b11f60
...@@ -303,6 +303,7 @@ def prompt(species_file): ...@@ -303,6 +303,7 @@ def prompt(species_file):
workDir = workDirEntered workDir = workDirEntered
scriptLines = [] scriptLines = []
scriptLines.append("#!/bin/bash")
scriptLines.append("module load nextflow") scriptLines.append("module load nextflow")
scriptLines.append("export NXF_WORK={}".format(workDir)) scriptLines.append("export NXF_WORK={}".format(workDir))
scriptLines.append("nextflow run {} --name {} --input {} --output {}".format(main_nf_path, runName, inputDir, outputDir)) scriptLines.append("nextflow run {} --name {} --input {} --output {}".format(main_nf_path, runName, inputDir, outputDir))
......
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