CobayaSampler / cobaya

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

Question on dependencies requirement #295

Closed KunhaoZhong closed 1 year ago

KunhaoZhong commented 1 year ago

Hi,

I got the following error message when I have the drop: true on logA, and my own likelihood class requiring logA in the get_requirements function.

in _set_dependencies_and_providers req for req in requirements[manual_theory] KeyError: _manual

I managed to skip this error with direct sampling on logA. I guess in most cases sampling on logA vs As should not make a difference, but is there a better way to understand what causes this error?

Thanks!

cmbant commented 1 year ago

I’m this the latest cobaya version? If so, do you have a simple example to reproduce it?

cmbant commented 1 year ago

Please could you provide more information or close this issue?

KunhaoZhong commented 1 year ago

Sorry for the delay. I have not further tested this issue with the current version. So I'll close the issue for now.