Skip to content

Commit

Permalink
fix path usage in simple_seq parse test
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrunewald committed Oct 5, 2023
1 parent 662d29e commit 8747767
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions polyply/tests/test_simple_seq_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def test_monomers_to_linear_nx_graph(example_meta_molecule):
"fasta"
))
def test_sequence_parses(extension):
filepath = Path(TEST_DATA / "simple_seq_files/test."+ extension)
part_path = "simple_seq_files/test." + extension
filepath = TEST_DATA / part_path
seq_graph = MetaMolecule.parsers[extension](filepath)
monomers = ["DA5", "DT", "DC", "DG", "DT", "DA", "DC", "DA", "DT3"]
ref_graph = _monomers_to_linear_nx_graph(monomers)
Expand All @@ -123,7 +124,8 @@ def test_ig_termination_fail():
"fasta"
))
def test_sequence_parses_RNA(extension):
filepath = Path(TEST_DATA / "simple_seq_files/test_RNA."+ extension)
part_path = "simple_seq_files/test_RNA." + extension
filepath = TEST_DATA / part_path
seq_graph = MetaMolecule.parsers[extension](filepath)
monomers = ["A5", "U", "C", "G", "U", "A", "C", "A", "U3"]
ref_graph = _monomers_to_linear_nx_graph(monomers)
Expand Down

0 comments on commit 8747767

Please sign in to comment.