biocore / BIRDMAn

Bayesian Inferential Regression for Differential Microbiome Analysis
BSD 3-Clause "New" or "Revised" License
22 stars 5 forks source link

Fix bug where num_warmup isn't properly saved to a Model object #37

Closed gibsramen closed 3 years ago

gibsramen commented 3 years ago

https://github.com/gibsramen/BIRDMAn/blob/e7bd19b7aee6ea2c7010b75bebcc2c13c3b4c012/birdman/model_base.py#L61-L62

If num_warmup is passed explicitly, no self.num_warmup attribute is created which causes issues in _fit_serial and _fit_parallel.