Closed prakharbansal16 closed 3 months ago
What's the difference with the test_cosmo_bao:test_generic_mixed_camb test, which I think passes?
I tried testing this and am still getting the same error
[camb] ERROR angular_diameter_distance not computed for all z requested. Requested z are 0.29, but computed ones are [2.34]
You ran pytest on test_generic_mixed_camb and it failed? Are you using the latest version of Cobaya? (this sounds like an error fixed quite some time ago)
Yes, I was using the an older version (3.3.2). I had installed it using the command on the website "python -m pip install cobaya --upgrade". I now manually installed the latest version using "pip install cobaya==3.5.1". But when I import cobaya in a script I get an error
"ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject"
A simple web search of the error message suggests reinstalling numpy: pip uninstall numpy
and pip install numpy
.
Thanks, it was indeed the problem.
I'm trying to use the DESI 2024 data files using the bao.generic likelihood but I'm getting an error "angular_diameter_distance not computed for all z requested"
Looks like the problem is with the datapoint Dv_over_rs. I also tried with the file "test_bao_mixed_observables_mean.txt" in the bao datasets and am getting the same error.