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

plot_cell_annotation_sc not found #62

Closed
kguion1 opened this issue Jun 24, 2022 · 5 comments
Closed

plot_cell_annotation_sc not found #62

kguion1 opened this issue Jun 24, 2022 · 5 comments

Comments

@kguion1
Copy link

kguion1 commented Jun 24, 2022

I've been using your package to deconvolute some visium data following the tutorial. I have successfully made it to the ad_map creation. However, when I try to plot I receive the below error and it looks like it can't find the function. Any help is appreciated!

AttributeError: module 'tangram' has no attribute 'plot_cell_annotation_sc'

@gaddamshreya
Copy link
Collaborator

Hi @kguion1 May I know the version of tangram you are using?

@kguion1
Copy link
Author

kguion1 commented Jun 24, 2022

tangram-sc 0.4.0 pypi_0 pypi

@gaddamshreya
Copy link
Collaborator

@kguion1 the current version of Tangram is 1.0.3 and all the tutorials work best with this version of Tangram.
The 'plot_cell_annotation_sc' is a new function added in the recent versions. Thank you for using Tangram!

@kguion1
Copy link
Author

kguion1 commented Jun 25, 2022

okay! I was using the 0.4.0 because of the link to this yaml so might be worth updating: https://github.com/scverse/squidpy_notebooks/blob/main/envs/tangram_environment.yml in one of the tutorials.

Thanks so much for your help :)

@kguion1
Copy link
Author

kguion1 commented Jun 26, 2022

Hi, after updating to the new version, now it cannot find the pp_adatas function. My tangram-sc package is version 1.0.3

@kguion1 kguion1 closed this as completed Jun 28, 2022
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

2 participants