diff --git a/CHANGELOG.md b/CHANGELOG.md index b27dce4b5c..a56abe0acb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Fix linting fail on nfcore_external_java_deps if nf_schema is used ([#2976](https://github.com/nf-core/tools/pull/2976)) - Conda module linting: Include package name in log file ([#3014](https://github.com/nf-core/tools/pull/3014)) +- Fix module linting warning for process_high_memory ([#3086](https://github.com/nf-core/tools/issues/3086)) ### Download diff --git a/nf_core/components/create.py b/nf_core/components/create.py index 5d6c411bdc..bae6487925 100644 --- a/nf_core/components/create.py +++ b/nf_core/components/create.py @@ -236,6 +236,7 @@ def _get_module_structure_components(self): "process_medium", "process_high", "process_long", + "process_high_memory", ] if self.process_label is None: log.info( diff --git a/nf_core/modules/lint/main_nf.py b/nf_core/modules/lint/main_nf.py index 81308ba5c5..883d2bb3e0 100644 --- a/nf_core/modules/lint/main_nf.py +++ b/nf_core/modules/lint/main_nf.py @@ -423,7 +423,14 @@ def check_process_section(self, lines, registry, fix_version, progress_bar): def check_process_labels(self, lines): - correct_process_labels = ["process_single", "process_low", "process_medium", "process_high", "process_long"] + correct_process_labels = [ + "process_single", + "process_low", + "process_medium", + "process_high", + "process_long", + "process_high_memory", + ] all_labels = [line.strip() for line in lines if line.lstrip().startswith("label ")] bad_labels = [] good_labels = []