Skip to content

Commit

Permalink
#474 - Fixing unbound local if no vcf is written
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermann Romanek committed Apr 24, 2024
1 parent d2d3bfd commit 48b9645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sniffles/sniffles
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def Sniffles2_Main(processes: list[parallel.SnifflesWorker]):
#
# Open output files
#
vcf_out = None
if config.vcf is not None:

vcf_output_info = []
Expand Down

1 comment on commit 48b9645

@hermannromanek
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually #476

Please sign in to comment.