From 5de8457cf0577d39c9eb35e815165c98c4590cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20An?= Date: Wed, 11 Sep 2024 13:22:42 +0800 Subject: [PATCH 1/2] fixed typo --- lib/Processes.groovy | 2 +- lib/Utils.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From a31ca62e3157760de00bbb59c65ab58fc49aa56d Mon Sep 17 00:00:00 2001 From: Stephen Watts Date: Thu, 12 Sep 2024 09:02:37 +1000 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d2bcdbe..30a099e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [dev] + +- [98](https://github.com/nf-core/oncoanalyser/pull/98) - Fix typos in error messages for process and run mode check + ## [[1.0.0](https://github.com/nf-core/oncoanalyser/releases/tag/1.0.0)] Pied Currawong - 2024-08-26 Initial release of nf-core/oncoanalyser, created with the [nf-core](https://nf-co.re/) template.