Currently, if you run primer_design on a fragment that's too short, it sets off an infinite loop. Perhaps it could throw an error instead? Following example should reproduce the problem.
from pydna.design import primer_designfrom pydna.all import *fragment = Dseqrecord("GCCACCATGG")primer_design(fragment)
Currently, if you run primer_design on a fragment that's too short, it sets off an infinite loop. Perhaps it could throw an error instead? Following example should reproduce the problem.
from pydna.design import primer_design
from pydna.all import *
fragment = Dseqrecord("GCCACCATGG")
primer_design(fragment)