Sc.pp.highly_variable_genes with batch_key causes segmentation fault

Hi,

I’m analyzing scRNAseq datasets from various GSE studies. When I use sc.pp.highly_variable_genes without batch_key it works fine. But when I use batch_key as the GSE study:

sc.pp.highly_variable_genes(
    adatas,
    n_top_genes=1200,
    subset=True,
    layer="counts",
    flavor="seurat_v3",
    batch_key="gse",
)

I get a segmentation fault. Any thoughts?

Br,