fulcrumgenomics / prymer

Python Primer Design Library
https://prymer.readthedocs.io/en/latest/
MIT License
8 stars 0 forks source link

fix: `PrimerAndAmpliconWeights` should all be `float`s #59

Closed emmcauley closed 1 week ago

emmcauley commented 1 week ago

We have two weights that are ints, this deviates from the Primer3 manual in that they should be floats:

    product_size_lt: int = 1
    product_size_gt: int = 1

The Primer3 manual states:

PRIMER_PAIR_WT_PRODUCT_SIZE_LT (float; default 0.0)
PRIMER_PAIR_WT_PRODUCT_SIZE_GT (float; default 0.0)

These are given in fgprimer as floats:

case class Primer3Weights(productSizeLt: Double      = 1,
                          productSizeGt: Double      = 1,