From 60be51da58916ff19bd80f2b4bb4277d9bbca986 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Tue, 11 Apr 2023 09:16:26 +0200 Subject: [PATCH] fix: interpret skip_libraries in sv_calling (#383) --- snappy_pipeline/workflows/common/sv_calling.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snappy_pipeline/workflows/common/sv_calling.py b/snappy_pipeline/workflows/common/sv_calling.py index 7f647e495..6ff51b2b7 100644 --- a/snappy_pipeline/workflows/common/sv_calling.py +++ b/snappy_pipeline/workflows/common/sv_calling.py @@ -40,7 +40,8 @@ def get_result_files(self): #: Generate all concrete output paths. for path_tpl in result_paths_tpls: for library_name in self.index_ngs_library_to_pedigree.keys(): - yield from expand(path_tpl, mapper=[mapper], library_name=library_name) + if library_name not in self.config[self.name].get("skip_libraries", []): + yield from expand(path_tpl, mapper=[mapper], library_name=library_name) class SvCallingGetLogFileMixin: