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

Deprecated functions of emcee used #17

Open
BerndDoser opened this issue Oct 4, 2022 · 1 comment
Open

Deprecated functions of emcee used #17

BerndDoser opened this issue Oct 4, 2022 · 1 comment
Assignees

Comments

@BerndDoser
Copy link
Member

Warning during pytest of fit_background:

  /usr/local/lib/python3.8/dist-packages/emcee/utils.py:23: DeprecationWarning: 'lnprobability' is deprecated. Use 'get_log_prob()' instead.
    deprecation_warning(msg)

tests/test_background_fit.py: 16 warnings
  /usr/local/lib/python3.8/dist-packages/emcee/utils.py:23: DeprecationWarning: 'chain' is deprecated. Use 'get_chain()' instead.
    deprecation_warning(msg)

tests/test_background_fit.py::test_background_fit_001296068
  /usr/local/lib/python3.8/dist-packages/emcee/utils.py:23: DeprecationWarning: 'flatchain' is deprecated. Use 'get_chain(flat=True)' instead.
    deprecation_warning(msg)

Simple interchange with proposed new function gives index error.

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

1 participant