Skip to content

Commit

Permalink
Merge pull request #2669 from mirpedrol/lint-patched-module
Browse files Browse the repository at this point in the history
Modules: Fix linting of a pipeline with patched custom module
  • Loading branch information
mirpedrol authored Jan 18, 2024
2 parents c453edf + b58fe9e commit 7b259a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

### Modules

- Fix linting of a pipeline with patched custom module ([#2669](https://github.com/nf-core/tools/pull/2669))

### Subworkflows

### General
Expand Down
2 changes: 1 addition & 1 deletion nf_core/modules/lint/module_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def module_changes(module_lint_object, module):
try:
new_lines = ModulesDiffer.try_apply_patch(
module.component_name,
module_lint_object.modules_repo.repo_path,
module.org,
module.patch_path,
tempdir,
reverse=True,
Expand Down

0 comments on commit 7b259a8

Please sign in to comment.