Closed peterjc closed 7 months ago
The camelCase
aliases should still be present in v2.x.x
but a deprecation warning will be displayed if they are used. For example, designPrimers
:
https://github.com/libnano/primer3-py/blob/v2.0.2/primer3/bindings.py#L558 https://github.com/libnano/primer3-py/blob/v2.0.2/primer3/bindings.py#L581 https://github.com/libnano/primer3-py/blob/v2.0.2/primer3/__init__.py#L73
So you should be able to do either of the following:
from primer3 import designPrimers
from primer3.bindings import designPrimers
I just did a clean install locally as a sanity check:
In [1]: from primer3 import designPrimers
In [2]: from primer3.bindings import designPrimers
In [3]: import primer3; print(primer3.__version__)
2.0.2
But maybe I'm missing something @peterjc?
You're right, I must have been misreading something with the setGlobals
import failing (#133). Apologies for the noise.
I ran into this trying to run some code from June 2022 (presumably using primer3-py v0.6.1)
Cross reference #125