Skip to content

Commit e32977f

Browse files
added test for PCR on circular template
1 parent 847e185 commit e32977f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_module_amplicon.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ def test_amplicon():
3636
|||||||||||||||||||||||
3737
3atgtgagtggcagatagtaatag...gctgacatagtagactatcgtg5"""
3838

39+
ctemplate = template.looped()
40+
cann = Anneal((p1, p2), ctemplate)
41+
42+
cprod = cann.products[0]
43+
assert repr(cprod) == "Amplicon(57)"
44+
3945
import textwrap
4046

41-
assert prod.figure() == textwrap.dedent(fig)
47+
assert prod.figure() == cprod.figure() == textwrap.dedent(fig)
4248

4349
# assert prod.program() == prod.taq_program()
4450

0 commit comments

Comments
 (0)