Skip to content

Commit

Permalink
Revert "Release GIL while encoding VCF"
Browse files Browse the repository at this point in the history
This reverts commit 0a47519.
  • Loading branch information
Will-Tyler committed Nov 6, 2024
1 parent 3fa5229 commit 274ef0a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vcztools/_vcztoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,8 @@ VcfEncoder_encode(VcfEncoder *self, PyObject *args)
PyErr_NoMemory();
goto out;
}
Py_BEGIN_ALLOW_THREADS
line_length = vcz_variant_encoder_encode(
self->vcf_encoder, (size_t) row, buf, (size_t) bufsize);
Py_END_ALLOW_THREADS
if (line_length < 0) {
handle_library_error((int) line_length);
goto out;
Expand Down

0 comments on commit 274ef0a

Please sign in to comment.