libnano / primer3-py

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

minor bug in primer3/thermoanalysis.pyx #122

Closed martinfthomsen closed 1 year ago

martinfthomsen commented 1 year ago

Hi Ben,

FYI. Minor bug popped up while I looked around in the new in your awesome product. The todict() function on the ThermoAnalysis feature failed.

>>> ThermoAnalysis().todict()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "primer3/thermoanalysis.pyx", line 1085, in primer3.thermoanalysis._ThermoAnalysis.todict
AttributeError: 'ThermoAnalysis' object has no attribute 'temp'. Did you mean: 'temp_c'?

Thanks, Martin

benpruitt commented 1 year ago

Thanks for catching this; fixed in #123, #124 (included in v2.0.1 release, should be live on PyPI later today)