From cc10a9fc3802a19ffd80b7286ea02c9839f1627b Mon Sep 17 00:00:00 2001 From: Dave Larson Date: Tue, 3 Apr 2018 14:05:07 -0500 Subject: [PATCH] Fix bnd warning conditional --- svtyper/classic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svtyper/classic.py b/svtyper/classic.py index 2194da9..8c79da4 100755 --- a/svtyper/classic.py +++ b/svtyper/classic.py @@ -518,7 +518,7 @@ def sv_genotype(bam_string, vcf_out.write(var2.get_var_string() + '\n') # throw warning if we've lost unpaired breakends - if True: + if breakend_dict: logging.warning('Unpaired breakends found in file. These will not be present in output.') # close the files