Skip to content

Commit

Permalink
fix bug when linting subworkflows from pipeline lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jan 26, 2024
1 parent 011f3ac commit b160446
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 b160446

Please sign in to comment.