Skip to content

Commit

Permalink
Merge pull request #2689 from mirpedrol/subworkflow-lint
Browse files Browse the repository at this point in the history
Linting: fix bug when linting subworkflows from pipeline lint [skip changelog]
  • Loading branch information
mirpedrol authored Jan 29, 2024
2 parents b956079 + b160446 commit 6805ee1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nf_core/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ def run_linting(
if subworkflow_lint_obj is not None:
subworkflow_lint_obj.filter_tests_by_key(subworkflow_lint_tests)

# Set up files for modules linting test
# Set up files for component linting test
module_lint_obj.set_up_pipeline_files()
if subworkflow_lint_obj is not None:
subworkflow_lint_obj.set_up_pipeline_files()

# Run the pipeline linting tests
try:
Expand Down

0 comments on commit 6805ee1

Please sign in to comment.