Skip to content

Commit

Permalink
Merge pull request #98 from nf-core/bounlu-fix-typos
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
bounlu authored Sep 12, 2024
2 parents 5a4baca + 70e9480 commit 1144edb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [dev]

- [98](https://github.com/nf-core/oncoanalyser/pull/98) - Fix typos in error messages for process and run mode check
- [96](https://github.com/nf-core/oncoanalyser/pull/96) - Added missing type field to an entry in the nextflow_schema.json

- [95](https://github.com/nf-core/oncoanalyser/pull/95) - Post-release bump

## [[1.0.0](https://github.com/nf-core/oncoanalyser/releases/tag/1.0.0)] Pied Currawong - 2024-08-26
Expand Down
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 1144edb

Please sign in to comment.