From 690e2063444955cfcb7ac43daa69ca7cf03906d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20Le=20N=C3=A9zet?= <58640615+LouisLeNezet@users.noreply.github.com> Date: Thu, 6 Mar 2025 15:24:26 +0100 Subject: [PATCH] Update nf_core/pipelines/lint/__init__.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: JĂșlia Mir Pedrol --- nf_core/pipelines/lint/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf_core/pipelines/lint/__init__.py b/nf_core/pipelines/lint/__init__.py index 79c10f45d..b9d35c521 100644 --- a/nf_core/pipelines/lint/__init__.py +++ b/nf_core/pipelines/lint/__init__.py @@ -601,8 +601,8 @@ def run_linting( if ( lint_obj.lint_config - and lint_obj.lint_config["nfcore_components"] is not None - and not lint_obj.lint_config["nfcore_components"] + and (not lint_obj.lint_config["nfcore_components"] + or lint_obj.lint_config["nfcore_components"] is not None) ): module_lint_obj = None subworkflow_lint_obj = None