Skip to content

Commit

Permalink
Merge pull request #3087 from GallVp/lint/highmem
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp authored Jul 30, 2024
2 parents baa1a3c + c18d9cd commit 94bf2c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions nf_core/components/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
9 changes: 8 additions & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 94bf2c3

Please sign in to comment.