INNER CODE UNIT · Python

_set_registry

nf-core/tools · nf_core/components/lint/__init__.py:159

    def _set_registry(self, registry: tuple[str, ...]) -> None:
        _, tools_config = nf_core.utils.load_tools_config(self.directory)
        user_registries: list[str] = (tools_config.container_registry or []) if tools_config else []
        self.registry: tuple[str, ...] = (*registry, *user_registries)
        log.debug(f"Registries set to {self.registry}")

    @property
    def local_module_exclude_tests(self):
        return ["module_version", "module_changes", "modules_patch"]

    @staticmethod
    def get_all_module_lint_tests(is_pipeline):
        if is_pipeline:
            return [
                "environment_yml",
                "module_patch",
                "module_version",
                "main_nf",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…