Skip to content

Commit

Permalink
TST: added check for a valid alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinHuttley committed Feb 13, 2024
1 parent 384fc2c commit 28cf080
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_aligndb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy
import pytest

from cogent3 import make_seq
from cogent3 import load_aligned_seqs, make_seq
from cogent3.core.annotation_db import GffAnnotationDb

from ensembl_lite._aligndb import (
Expand Down Expand Up @@ -593,3 +593,6 @@ def test_write_alignments(tmp_path):
ref_species="human",
show_progress=False,
)
aln_path = list(tmp_path.glob("*"))[0]
aln = load_aligned_seqs(aln_path, moltype="dna")
assert len(aln) == 3

0 comments on commit 28cf080

Please sign in to comment.