From 0389dfefcef32b417eb615b75686891e4b44729e Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Fri, 4 Oct 2024 17:28:08 +0200 Subject: [PATCH] fix: collect builtin plugins --- snakemake_interface_executor_plugins/registry/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snakemake_interface_executor_plugins/registry/__init__.py b/snakemake_interface_executor_plugins/registry/__init__.py index e0b34ab..a6d219f 100644 --- a/snakemake_interface_executor_plugins/registry/__init__.py +++ b/snakemake_interface_executor_plugins/registry/__init__.py @@ -70,5 +70,6 @@ def collect_plugins(self): # snakemake not present, proceed without adding these plugins return - for executor in [local_executor, dryrun_executor, touch_executor]: - self.register_plugin(executor.__name__, executor) + self.register_plugin("local", local_executor) + self.register_plugin("dryrun", dryrun_executor) + self.register_plugin("touch", touch_executor)