AdmiralenOla / Scoary

Pan-genome wide association studies
GNU General Public License v3.0
147 stars 35 forks source link

Migrate to SciPy 1.12.0. #110

Open emollier opened 3 months ago

emollier commented 3 months ago

Deprecated function scipy.stats.binom_test expired in scipy 1.12.0 to be replaced by scipy.stats.binomtest. This patch is a quick fix to port to the newer API. Error handling revolving around the binomial test might make less sense now though, but it's left to keep the change relatively targeted.

This issue was initially identified in Debian bug #1071702.