From 3dbfe924f7e857d862aed688bee0c922f8b247e8 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Fri, 1 Jul 2022 15:11:16 +0200 Subject: [PATCH] fix retrieve repo type --- nf_core/modules/module_test.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nf_core/modules/module_test.py b/nf_core/modules/module_test.py index c6c9485dd7..2311416fe1 100644 --- a/nf_core/modules/module_test.py +++ b/nf_core/modules/module_test.py @@ -60,15 +60,7 @@ def __init__( self.no_prompts = no_prompts self.pytest_args = pytest_args - # Check repository type - try: - pipeline_dir, repo_type = nf_core.modules.module_utils.get_repo_type(".", use_prompt=False) - log.debug(f"Found {repo_type} repo: {pipeline_dir}") - except UserWarning as e: - log.debug(f"Only showing remote info: {e}") - pipeline_dir = None - - super().__init__(pipeline_dir, remote_url, branch, no_pull) + super().__init__(".", remote_url, branch, no_pull) self.get_pipeline_modules() def run(self):