This PR fixes an error that @caelanradford was getting with _reg_similarity when including reference sites.
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!
This PR fixes an error that @caelanradford was getting with
_reg_similarity
when including reference sites.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!