Skip to content

Commit

Permalink
Merge pull request #521 from bbimber/list_check
Browse files Browse the repository at this point in the history
Add check for empty list
  • Loading branch information
hermannromanek authored Nov 10, 2024
2 parents d4bdc94 + debb998 commit f28e380
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 f28e380

Please sign in to comment.