Skip to content

Commit

Permalink
Fixup after pinning new fgpyo version.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenne committed Jan 21, 2025
1 parent 3a74d59 commit 9605ca5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 29 deletions.
62 changes: 39 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ python = "^3.12"
pyproject_hooks= "^1.0.0,!=1.1.0"
pybedlite = "^1.0.0"
strenum = "^0.4.15"
fgpyo = "^0.8.0"
fgpyo = {git ="https://github.com/fulcrumgenomics/fgpyo" , rev= "c5eb469a4fbe4f2e600e17f929cc89379c661e7a" }
pysam = "^0.22.1"
ordered-set = "^4.1.0"
primer3-py = "^2.0.3"
Expand Down Expand Up @@ -141,8 +141,6 @@ addopts = [
"--cov",
"--cov-report=xml",
"--cov-branch",
"--mypy",
"--ruff",
"--doctest-plus",
"--doctest-modules",
"-v"
Expand Down
3 changes: 0 additions & 3 deletions tests/test_variant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from pathlib import Path

import pysam
import pytest
from fgpyo.vcf.builder import VariantBuilder
from fgpyo.vcf.builder import VcfFieldNumber
Expand Down Expand Up @@ -123,7 +122,6 @@ def test_variant_lookup_filtering(tmp_path: Path, builder: VariantBuilder) -> No
builder.add("chr1", pos=1020, ref="A", alts="C")
vcf = tmp_path / "test.vcf.gz"
builder.to_path(vcf)
pysam.tabix_index(str(vcf), preset="vcf")

lookup = VariantLookup([vcf], min_maf=0.1, include_missing_mafs=False)
variants = lookup.query("chr1", 1000, 1020)
Expand All @@ -150,7 +148,6 @@ def test_variant_lookup_masking(tmp_path: Path, builder: VariantBuilder) -> None
builder.add("chr1", pos=1030, ref="AA", alts="CG", info={"AF": 0.1})
vcf = tmp_path / "test.vcf.gz"
builder.to_path(vcf)
pysam.tabix_index(str(vcf), preset="vcf")

lookup = VariantLookup([vcf], min_maf=0.1, include_missing_mafs=False)
# 0 1 2 3 4 5
Expand Down

0 comments on commit 9605ca5

Please sign in to comment.