CobayaSampler / cobaya

Code for Bayesian Analysis
http://cobaya.readthedocs.io/en/latest/
Other
128 stars 127 forks source link

Cobaya's verification of CLASS python wrapper version fails #243

Closed juan-s-cruz closed 2 years ago

juan-s-cruz commented 2 years ago

When using CLASS within an Anaconda environment for python 3.9 (probably also happens for other >3.0 versions) the build produces a lib.**39* file which fails cobaya's test on the python version of CLASS because it looks for a file lib.***3.9

See the line 508 of classy.py

Although CLASS is properly compiled and its python wrapper works, Cobaya does not start sampling if this test fails.

JesusTorrado commented 2 years ago

Hi @valadur19

Could you please try again after the last commit? (https://github.com/CobayaSampler/cobaya/commit/228ebf3f148e8fc39013e454236521858ad4c550)

JesusTorrado commented 2 years ago

Appears to work with some basic tests. Please reopen if needed.