biocore / BIRDMAn

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

nb.to_inference() error #98

Closed akhilkommala closed 10 months ago

akhilkommala commented 1 year ago

I was going through the default Negative Binomial model tutorial in the BIRDMAn documentation, but my code produces the following error when I run the line nb.to_inference(): image I wanted to see if anyone knew of a solution to this issue or of what may be going wrong. Thanks!

gibsramen commented 1 year ago

Hi, @akhilkommala

Can you report what version of the following you are using?

BIRDMAn has had some substantial updates recently along with updates to the underlying CmdStanPy dependency and we're still trying to work out some of the bugs.

Thanks!

akhilkommala commented 1 year ago

I am using BIRDMAn 0.1.0, CmdStanPy 1.2.0, CmdStan 2.33.1, and Python 3.12.0. Let me know if there is any other information I can provide.

gibsramen commented 12 months ago

Can you try updating to BIRDMAn version 0.2.0?

akhilkommala commented 12 months ago

Yep, I updated but the issue is still the same

gibsramen commented 12 months ago

Okay, thanks. Which tutorial were you following when you received this error? In the meantime you can try this Colab notebook which should go through installation and usage. I am travelling at the moment so my responses may be slow, apologies.

akhilkommala commented 12 months ago

Thanks, I'll take a look at that. I was running through this tutorial on the birdman documentation: https://birdman.readthedocs.io/en/stable/default_model_example.html