Skip to content

Commit

Permalink
Added force=True
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenne committed Jan 21, 2025
1 parent 75523b7 commit 808bafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgpyo/vcf/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def to_path(self, path: Optional[Path] = None) -> Path:
writer.write(variant)

if str(path.suffix) == ".gz":
pysam.tabix_index(str(path), preset="vcf")
pysam.tabix_index(str(path), preset="vcf", force=True)

return path

Expand Down

0 comments on commit 808bafb

Please sign in to comment.