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

IndexError when InteractiveMarkerSelection run with no visuals #1

Closed
umangv opened this issue Sep 6, 2019 · 0 comments
Closed

IndexError when InteractiveMarkerSelection run with no visuals #1

umangv opened this issue Sep 6, 2019 · 0 comments

Comments

@umangv
Copy link
Owner

umangv commented Sep 6, 2019

When you run InteractiveMarkerSelection with no visuals (i.e., visuals=[]), you get an IndexError

im = pr.markers.interactive.InteractiveMarkerSelection(adata, cife, [])
im.show()

Gives the following IndexError

picturedrocks/picturedrocks/markers/interactive.py in draw_visual(self, visual_ind)
    134     def draw_visual(self, visual_ind):
    135         """Lazily draw visualization"""
--> 136         if not self.visuals_drawn[visual_ind]:
    137             self.visuals[visual_ind].redraw(self.top_genes, self.featsel.S)
    138             self.visuals_drawn[visual_ind] = True

umangv added a commit that referenced this issue Sep 13, 2019
umangv added a commit that referenced this issue Sep 13, 2019
umangv added a commit that referenced this issue Sep 13, 2019
umangv added a commit that referenced this issue Sep 13, 2019
@umangv umangv closed this as completed Sep 13, 2019
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

1 participant