Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bounlu authored Sep 11, 2024
1 parent 4227bc1 commit 5de8457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Processes.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5de8457

Please sign in to comment.