Skip to content

Commit

Permalink
handle case where no contigs are generated
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewing committed Dec 8, 2016
1 parent e72b1b1 commit 6ee1f8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/addsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def makemut(args, bedline, alignopts):

if len(contigs) == 0:
sys.stderr.write("WARN\t" + now() + "\t" + mutid + "\tgenerated no contigs, skipping site.\n")
return None, None

trn_contigs = None
if is_transloc:
Expand Down

0 comments on commit 6ee1f8e

Please sign in to comment.