alan-turing-institute / autoemulate

emulate simulations easily
MIT License
15 stars 1 forks source link

Catch warnings when running in parallel #211

Closed mastoffel closed 3 months ago

mastoffel commented 3 months ago

We should catch and log warnings when models run in parallel. Currently, we use logging.captureWarnings(True) in logging_config.py, which doesn't seem to work when cross_validate or _optimize_params() runs in parallel.