zheminzhou / PEPPAN

Phylogeny Enhanded Prediction of PAN-genome
https://doi.org/10.1101/2020.01.03.894154
GNU General Public License v3.0
38 stars 10 forks source link

Numpy 2 compatibility #30

Open MartaRudzite opened 2 months ago

MartaRudzite commented 2 months ago

When testing a fresh installation (July 2024) of PEPPAN by running provided example genomes a following error is returned: AttributeError: module 'numpy.lib.npyio' has no attribute 'format'

This appears to be due to incompatibility with the latest Numpy release - 2.0 and later. Manually downgrading Numpy to 1.26.4 appears to solve the issue.