Skip to content

mc.tl.filter_data crash if no excluded genes were marked #81

@drorbar

Description

@drorbar

Can happen if you already filtered the genes so all the column is false, or more likely taken the dataset from someone else on the internet who did the filtering already.

mc.tl.filter_data(cadata, var_masks=['&excluded_gene'])[0])
Error: TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions