jbloomlab / polyclonal

Model mutational escape from polyclonal antibodies.
Other
3 stars 0 forks source link

fix assert statement in reg_similarity #131

Closed timcyu closed 1 year ago

timcyu commented 1 year ago

This PR fixes an error that @caelanradford was getting with _reg_similarity when including reference sites.

Screen Shot 2022-10-20 at 4 16 10 PM

The problem was the reference file contains sites not seen in the data. I changed the assert statement to check the number of sites seen in the data, not the reference file. @jbloom can you review and merge? Thanks!