scverse / scvi-tutorials

Notebooks used in scvi-tools tutorials
https://docs.scvi-tools.org/en/stable/tutorials/index.html
BSD 3-Clause "New" or "Revised" License
46 stars 25 forks source link

Quick Start Tutorial Code Error #281

Closed DrNamwob closed 2 months ago

DrNamwob commented 6 months ago

In the quickstart tutorial, scvi.settings.seed = 0 should be:

scvi._settings.seed = 0 print("Last run with scvi-tools version:", scvi.version)

I apologize if my issue / bug reporting is not in the correct format. Completely new to this field. Just trying my best to help out.

image image
ori-kron-wis commented 3 months ago

Hi @DrNamwob it is true the file is called _settings.py as this is the very basic internal settings of scvi, but the actual handler to this settings class in this file is called settings, which is initialized during scvi import. So the tutorial is fine.

What version are you using? How did you install the package? (might be that under conda env we do experience such issues)

Thanks