TileDB-Inc / TileDB-VCF

Efficient variant-call data storage and retrieval library using the TileDB storage library.
https://tiledb-inc.github.io/TileDB-VCF/
MIT License
83 stars 13 forks source link

Only clear non-empty buffers during ingestion #641

Closed gspowley closed 7 months ago

gspowley commented 7 months ago

Check if an ingestion query buffer is non-empty before clearing the buffer to avoid an edge case during VCF ingestion that generates this error:

[TileDB::Query] Error: Cannot set buffer; sample buffer is null
shortcut-integration[bot] commented 7 months ago

This pull request has been linked to Shortcut Story #38631: Only clear non-empty buffers in VCF ingestion.