Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Start Tutorial Code Error #281

Open
DrNamwob opened this issue May 21, 2024 · 1 comment
Open

Quick Start Tutorial Code Error #281

DrNamwob opened this issue May 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DrNamwob
Copy link

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
@DrNamwob DrNamwob added the bug Something isn't working label May 21, 2024
@ori-kron-wis
Copy link
Contributor

ori-kron-wis commented Aug 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants