Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bugs #4

Open
doliinychenko opened this issue May 6, 2022 · 1 comment
Open

Minor bugs #4

doliinychenko opened this issue May 6, 2022 · 1 comment

Comments

@doliinychenko
Copy link

Running the Example.ipynb notebook I encountered some minor bugs:
line 166, mcmc.py: logging.info('running %d walkers for %d steps', self.k, nsteps) crashed, because self.k member is absent
line 426, mcmc.py: storechain argument is actually absent in run_mcmc
line 426, mcmc.py: X0 = sampler.run_mcmc()[0] complains that X0 is 'not subscriptable'. After removing [0] it seems to run fine.

@raymondEhlers
Copy link
Collaborator

Hi @doliinychenko , thanks very much for the report, and sorry for the extremely slow response! I think that all of these issues are due to the emcee version. The interface changed from version 2 -> 3, and the package still depends on version 2.1.1. We list this in the requirements.txt, but the better solution would be to update to be compatible with the newer API. So I'd suggest leaving this issue open so don't forget to resolve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants