TileDB-VCF
TileDB-VCF copied to clipboard
Cannot submit_and_finalize query
Hi! I am trying to ingest samples, but run into the following problem:
_40b48cf415984c70a4ab49e225d7c8ef_21 samples = SAMPLE
[2024-02-13 09:59:31.061] [tiledb-vcf] [...] [debug] Finalizing last contig batch of [1, 1]
[2024-02-13 09:59:31.061] [tiledb-vcf] [...] [debug] AlleleCount: Finalize query with 0 records
[2024-02-13 09:59:31.104] [tiledb-vcf] [...] [debug] VariantStats: Finalize query with 0 records
[2024-02-13 09:59:31.146] [tiledb-vcf] [...] [debug] Query buffer for 'contig' contains 3272 elements
[2024-02-13 09:59:31.146] [tiledb-vcf] [...] [critical] Cannot submit_and_finalize query with buffers set.
As far as I can tell, one of the following steps fails. Is there something I can test tweaking to make this work, or does anything else stand out as the obvious culprit here?
File: libtiledbvcf/src/stats/allele_count.cc
160 if (contig_records_ > 0) {
161 if (utils::query_buffers_set(query_.get())) {
162 LOG_FATAL("Cannot submit_and_finalize query with buffers set.");
163 }
164 query_->submit_and_finalize();
File: libtiledbvcf/src/stats/variant_stats.cc
158 if (contig_records_ > 0) {
159 if (utils::query_buffers_set(query_.get())) {
160 LOG_FATAL("Cannot submit_and_finalize query with buffers set.");
161 }
162 query_->submit_and_finalize();