diff --git a/README.md b/README.md index f6f88ad..7a29bca 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![Build Status](https://molgenis50.gcc.rug.nl/jenkins/job/molgenis-compute/badge/icon)](https://molgenis50.gcc.rug.nl/jenkins/job/molgenis-compute/) + # molgenis-compute + A workflow management framework for generating/submitting/monitoring Bash scripts on compute clusters managed by schedulers like - [Slurm](https://slurm.schedmd.com/) - [PBS](http://www.adaptivecomputing.com/products/open-source/torque/) (deprecated) diff --git a/molgenis-compute-core/src/main/resources/templates/slurm/submit.ftl b/molgenis-compute-core/src/main/resources/templates/slurm/submit.ftl index bc45295..aff87d1 100644 --- a/molgenis-compute-core/src/main/resources/templates/slurm/submit.ftl +++ b/molgenis-compute-core/src/main/resources/templates/slurm/submit.ftl @@ -55,7 +55,7 @@ function cancelJobs () { function processJob () { local _jobName="${1}" - local _jobScript="${jobName}.sh" + local _jobScript="${_jobName}.sh" local _submitOptions="${2:-}" # Optional. local _dependencies="${3:-}" # Optional. local _n=1