YosefLab / PopV

MIT License
49 stars 10 forks source link

pandas 2.0 gives error with model loading #25

Closed annashch-insitro closed 1 year ago

annashch-insitro commented 1 year ago

Hello, in the current pyprpoject.toml, the pandas version is pinned as >=1.4 (https://github.com/YosefLab/PopV/blob/main/pyproject.toml#L51) When running tutorial, using pandas >2 (the latest release) gave errors with torch model loading (for the scvi models from Tabula). Pandas 1.5.3 was the latest that worked for me, just a heads up in case you want to consider pinning the pandas version.

canergen commented 1 year ago

Thanks and yes, expected and known issue. I will fix the version so PopV stays compatible with the pre-trained models.