Closed karlmtr closed 1 year ago
Thanks! I was just going to report this same error.
Hi folks --- sorry about this. It's a dynesty
change that is not backcompatible. Haven't had the time to update this yet, but also related to this other error. If you downgrade dynesty
to 1.2.2 it works: https://github.com/nespinoza/juliet/issues/89
Hey Nestor,
I also experienced this issue and found a workaround that is independent of the dynesty version (since I think there are some important bug fixes in the newer dynesty versions).
Instead of calling DynestySampler.__code__.co_varnames
I would recommend you using vars(DynestySampler).keys()
Best Jonas
This was solved in #98 by @andres-jordan --- closing!
When using the example code provided in the documentation (https://juliet.readthedocs.io/en/latest/tutorials/transitfits.html#lightcurve-fitting-with-juliet), the following error appears :
I looked at where the error was coming from, and it would be due to a simple mistake coming from the fact that the dunder method
__code__
is applied to the the DynestySampler object instead of the__init__
method. Making the following changes solved the problem :https://github.com/nespinoza/juliet/blob/75d54a61d64b38e048ca68894e8238666d249d39/juliet/fit.py#L1660