acerbilab / pyvbmc

PyVBMC: Variational Bayesian Monte Carlo algorithm for posterior and model inference in Python
https://acerbilab.github.io/pyvbmc/
BSD 3-Clause "New" or "Revised" License
114 stars 6 forks source link

fix: prevent logging output to stderr and stdout #59

Closed Solosneros closed 2 years ago

Solosneros commented 2 years ago

We now initialize the root logger ourselves, when the user hasn't done that yet. That means by default we log to stdout, but the user can overwrite that logging setting before initializing pyvbmc. See the documentation of the baseConfig.

Also, we prevent corner.py to log warnings to stderr for small datasets. This is done with quiet=True (see documentation here).