diff --git a/lib/Processes.groovy b/lib/Processes.groovy index 480e10bb..98245f6d 100644 --- a/lib/Processes.groovy +++ b/lib/Processes.groovy @@ -31,7 +31,7 @@ class Processes { return Constants.Process.valueOf(name.toUpperCase()) } catch(java.lang.IllegalArgumentException e) { def processes_str = Processes.getProcessNames().join('\n - ') - log.error "recieved invalid process: '${name}'. Valid options are:\n - ${processes_str}" + log.error "received invalid process: '${name}'. Valid options are:\n - ${processes_str}" Nextflow.exit(1) } } diff --git a/lib/Utils.groovy b/lib/Utils.groovy index 38fae00c..77b0a010 100644 --- a/lib/Utils.groovy +++ b/lib/Utils.groovy @@ -381,7 +381,7 @@ class Utils { def run_mode_enum = Utils.getEnumFromString(run_mode, Constants.RunMode) if (!run_mode_enum) { def run_modes_str = Utils.getEnumNames(Constants.RunMode).join('\n - ') - log.error "recieved an invalid run mode: '${run_mode}'. Valid options are:\n - ${run_modes_str}" + log.error "received an invalid run mode: '${run_mode}'. Valid options are:\n - ${run_modes_str}" Nextflow.exit(1) } return run_mode_enum