igvteam / igv-reports

Python application to generate self-contained pages embedding IGV visualizations, with no dependency on original input files.
MIT License
347 stars 51 forks source link

Bugfix decoding annotation field #32

Closed FelixMoelder closed 5 years ago

FelixMoelder commented 5 years ago

When decoding the annotation field igv-reports may crash as it is possible that variant.info["ANN"] just returns a string instead of a list. This is now solved by first checking if a string is returned and treating the result accordingly.