libnano / primer3-py

Simple oligo analysis and primer design
https://libnano.github.io/primer3-py
GNU General Public License v2.0
168 stars 44 forks source link

add calcEndStability to __init__.py #46

Closed stephen-tanner closed 1 year ago

stephen-tanner commented 3 years ago

In the main init.py function, there's an import statement that exposes members from .bindings. I suggest adding calcEndStability to this list (see below). That would allow for calling primer3.calcEndStability directly (which is currently not possible). Currently a caller can access primer3.calcHomodimer directly but must call primer3.bindings.calcEndStability to access the calcEndStability functionality.

from .bindings import (calcHairpin, calcHomodimer, calcHeterodimer,
                       calcHairpinTm, calcHomodimerTm, calcHeterodimerTm,
                       calcTm, setP3Globals, setP3SeqArgs, runP3Design,
                       designPrimers, calcEndStability)

Best Regards, --Stephen Tanner

25shmeckles commented 2 years ago

I was going to open the same issue. Contrary to what is stated in the docs, calling primer3. calcEndStability results in AttributeError: module 'primer3' has no attribute 'calcEndStability'