Skip to content

Commit

Permalink
Add check for empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber authored Nov 10, 2024
1 parent 4a1a918 commit debb998
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sniffles/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ def execute(self, worker: 'SnifflesWorker' = None):
for svtype in groups_keep:
calls.extend(sv.call_groups(groups_keep[svtype], self.config, self))

result.store_calls(calls)
if calls:
result.store_calls(calls)

result.finalize()
return result
Expand Down

0 comments on commit debb998

Please sign in to comment.