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

PBMC scRNA CIBERSORT gene signatures indexing error #10

Open
oHunewald opened this issue Oct 28, 2020 · 1 comment
Open

PBMC scRNA CIBERSORT gene signatures indexing error #10

oHunewald opened this issue Oct 28, 2020 · 1 comment

Comments

@oHunewald
Copy link

Following error when I try to run the PBMC-scRNA notebook:

/clustergrammer_fun/categories.py in dict_cat(net, define_cat_colors)
    131             for inst_full_name in inst_dict:
    132 
--> 133                 inst_name = inst_full_name.split(': ')[1]
    134                 inst_color = inst_dict[inst_full_name]
    135 

IndexError: list index out of range

I solved this issue by changing the dict iteration in categories.py

to:

for k, v in inst_dict.items():
      inst_name = k
      inst_color = v
      global_cat_colors[inst_name] = inst_color
@cornhundred
Copy link
Contributor

Thanks, I'll have a look and possibly bring into https://github.com/ismms-himc/clustergrammer2

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