Pl.ligrec error in latest version of squidpy

Hi all,

I was using v1.0.0 before and I have recently updated squidpy to v1.2.3. Unfortunately ligrec plotting function doesn’t work anymore and I get an error message:

(f"Expected all groups to have the same number of interacting clusters, found {size}.")

AttributeError: ‘int’ object has no attribute ‘values’

I have v1.0.0 still installed in another conda env and code works perfectly fine:
res = sq.gr.ligrec(
adata,
n_perms=1000,
cluster_key=“Cell_types”,
copy=True,
use_raw=False,
interactions_params={‘resources’: ‘CellPhoneDB’}
)

sq.pl.ligrec(res, source_groups=“My_Cells”, alpha=0.005)

Best,

hi @Sni could you please install squidpy from main? we’ll make a new release soon!

Thanks, forgot to answer here, installing from main helped with this issue