-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi! Another issue - also happy to help fix this one if a quick PR is helpful. I was doing some testing of a single perturbation before starting a long run of them, and found that when perturbations all turn out to be NP, the RunMixscale function errors out.
It looks like it might be coming from this line of the code, where the cell types are drawn from the name of the first perturbation added to gv.list. In cases where gv.list is empty however—which I think happens when all the perturbations are NP—I get a subscript out of bounds error coming from trying to access gv.list[[1]].
One fix for this could be to derive the cell types from the splits variable.
Metadata
Metadata
Assignees
Labels
No labels