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

Problems with importing for new, Tutorial: Perturbation simulation #467

Open
finncreeggan opened this issue Sep 12, 2024 · 2 comments
Open

Comments

@finncreeggan
Copy link

finncreeggan commented Sep 12, 2024

Describe the bug
I am having a problem importing a module 'scenicplus.dimensionality_reduction'. I am running the basic Perturbation simulation tutorial with the most recent version of scenicplus.

To Reproduce
from scenicplus.simulation import (
train_gene_expression_models,
simulate_perturbation,
plot_perturbation_effect_in_embedding
)

Error output

ModuleNotFoundError Traceback (most recent call last)
Cell In[6], line 1
----> 1 from scenicplus.simulation import (
2 train_gene_expression_models,
3 simulate_perturbation,
4 plot_perturbation_effect_in_embedding
5 )

File ~/miniconda3/envs/scenicplus/lib/python3.11/site-packages/scenicplus/simulation.py:12
9 from scipy.stats import norm as normal
11 from .eregulon_enrichment import score_eRegulons
---> 12 from .dimensionality_reduction import plot_metadata_given_ax
13 import matplotlib.pyplot as plt
14 import logging

ModuleNotFoundError: No module named 'scenicplus.dimensionality_reduction'

Expected behavior
i expected all the modules to be loaded andbe in scenicplus

screenshot
Screenshot 2024-09-12 191252

Version:

  • Python: 3.11.8
  • SCENIC+: 1.0a1
@SeppeDeWinter
Copy link
Collaborator

Hi @finncreeggan

Are you sure that you installed the newest version of SCENIC+ from GitHub?
The code that produces the error you are showing does not exist anymore in the main branch of SCENIC+.

Please pull the newest code and try to reinstall.

All the best,

Seppe

@GayaniSene
Copy link

Even with the newest version, this doesn't seem to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants