theislab / cellrank

CellRank: dynamics from multi-view single-cell data
https://cellrank.org
BSD 3-Clause "New" or "Revised" License
352 stars 46 forks source link

models.GAM renamed? #471

Closed tinjac closed 3 years ago

tinjac commented 3 years ago

Hej!

Using cr v.1.0.0-rc.0 I ran into problems fitting a Generalized Additive Model.

Running model = cr.ul.models.GAM(adata, grid=None) gives me "model = cr.ul.models.GAM(adatasub, grid=None)". I checked the documentation, but this should be the correct command. Thus, I was wondering if maybe you updated something and the function changed name?

Thanks in advance!

michalk8 commented 3 years ago

Hi @tinjac ,

v.1.0.0-rc.0 is and old release candidate, the documentation you see at https://cellrank.readthedocs.io/en/latest/ is the latest one (i.e. the one you could get from GitHub). I'd recommend to updating to 1.1.0, which is the current version on PyPI, the documentation for this version is https://cellrank.readthedocs.io/en/v1.1.0/

tinjac commented 3 years ago

Thank you so much. Updating indeed solved the issue. Sorry for the hassle.