fritzsedlazeck / Sniffles

Structural variation caller using third generation sequencing
Other
561 stars 95 forks source link

Add check for empty list #521

Closed bbimber closed 2 weeks ago

bbimber commented 2 weeks ago

This might be a solution for: https://github.com/fritzsedlazeck/Sniffles/issues/520

hermannromanek commented 2 weeks ago

Likely not a fix for #520 as the same check is already done in https://github.com/fritzsedlazeck/Sniffles/blob/debb998dc759fc76b2001d2c31c2bfe449e9a3c8/src/sniffles/result.py#L154

I merged it nonetheless since the call is not really neccessary if there are no calls to be written.