Closed emmcauley closed 6 days ago
Attention: Patch coverage is 92.67241%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 96.76%. Comparing base (
f71dc65
) to head (c0e869e
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The PR refactors the
Primer
object and plannedProbe
object into the same dataclass, now calledOligo
. AnOligo
object can represent single primer and probe designs. The corresponding base class, previously calledPrimerLike
, has been refactored toOligoLike
.The new
Oligo
object has the attributes that aPrimer
object had (tm
,penalty
,span
and optional attributesbases
,tail
) plus three new optional attributes:self_any_th
,self_end_th
, andhairpin_th
. These three attributes are emitted from Primer3 for probe design and, after an update toPrimerAndAmpliconParams
, will also be emitted for primer designs.For backwards compatibility, the
Primer
object now wraps anOligo
object and also emits aDeprecationWarning
.I left
PrimerPair
largely untouched -- aPrimerPair
is now composed of twoOligo
objects but the rest of the functionality ofPrimerPair
I left intact.