Skip to content

Commit

Permalink
style: black
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Oct 17, 2023
1 parent de0a055 commit c5baf25
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions fgpyo/sam/tests/test_template_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ def test_to_templates() -> None:
assert len(list(template2.all_recs())) == 2


def test_write_template(tmp_path: Path,) -> None:
def test_write_template(
tmp_path: Path,
) -> None:
builder = SamBuilder()
template = Template.build([
*builder.add_pair(name="r1", chrom="chr1", start1=100, start2=200),
builder.add_single(name="r1", chrom="chr1", start=350, supplementary=True),
])
template = Template.build(
[
*builder.add_pair(name="r1", chrom="chr1", start1=100, start2=200),
builder.add_single(name="r1", chrom="chr1", start=350, supplementary=True),
]
)

bam_path = tmp_path / "test.bam"

Expand Down

0 comments on commit c5baf25

Please sign in to comment.