Skip to content

Commit

Permalink
feat: adapt tests to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
tzok committed Nov 20, 2024
1 parent f35a5ee commit 22ddcb9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ n4-helix with 4 tetrads
propeller- H.U4
propeller- F.U4

UGGUGU-UGGUGU-UGGUGU-UGGUGU-UGGUGU-UGGUGU-UGGUGU-UGGGU
.([.{<-.)].{<-.([.}>-.)].}>-.([.{<-.([.}>-.)].{<-.)]}>
.{<.([-.{<.)]-.}>.([-.}>.)]-.{<.([-.}>.([-.{<.)]-.}>)]
UGGUG-UUGGUG-UUGGUG-UUGGUG-UUGGUG-UUGGUG-UUGGUG-UUGGGU
.([.{-[.)(.{-].[).}-(.]].}-).((.[-{.{).]-(.}[.{-).)]}}
.((.[-{.{).]-(.}[.{-).)].}-}.([.{-[.)(.{-].[).}-(.]]})
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ n4-helix with 2 tetrads
lateral+ A.DT24, A.DT25

GGTTGGCGCGAAGCATTCGCGGGTTGG
((..))...............((..))
((..((...............))..))
([..[)...............(]..])
((..)(...............)(..))
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_eltetrado_with_dssr(capfd):
]
)
out, err = capfd.readouterr()
with open("tests/files/2awe-assembly-1.out.json") as f:
with open("tests/files/2awe-assembly-1.out") as f:
assert out == f.read()


Expand All @@ -49,5 +49,5 @@ def test_eltetrado_without_dssr(capfd):
]
)
out, err = capfd.readouterr()
with open("tests/files/6fc9-assembly-1.out.json") as f:
with open("tests/files/6fc9-assembly-1.out") as f:
assert out == f.read()
6 changes: 3 additions & 3 deletions tests/test_dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_5v3f():
analysis = eltetrado(structure2d, structure3d, False, False, 2)
dto = generate_dto(analysis)
assert (
dto.dotBracket.sequence == "UGCGAAGGGACGGUGCGGAGAGGAGAGCA-CGGGACGGUGCGGAGAGGAG"
dto.dotBracket.sequence == "GUGCGAAGGGACGGUGCGGAGAGGAGAGCA-CGGGACGGUGCGGAGAGGAG"
)
assert dto.dotBracket.line1 == "......([{..)].(.[{.).]}.}....-.([{..)].(.[{.).]}.}"
assert dto.dotBracket.line2 == "......([(..[{.).]}.{.)].}....-.([(..[{.).]}.{.)].}"
assert dto.dotBracket.line1 == ".......([{..)].(.[{.).]}.}....-.([{..)].(.[{.).]}.}"
assert dto.dotBracket.line2 == ".......([(..[{.).]}.{.)].}....-.([(..[{.).]}.{.)].}"

0 comments on commit 22ddcb9

Please sign in to comment.