Skip to content

Commit

Permalink
Fixed error in plot_intercellular_flows.
Browse files Browse the repository at this point in the history
  • Loading branch information
axelalmet committed Dec 5, 2024
1 parent 4dc7077 commit f86164d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowsig/plotting/_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def plot_intercellular_flows(adata: sc.AnnData,
if inflow not in inflow_vars:
inflow_vars.append(inflow)

elif var_types_used.sum(2) == 2:
elif var_types_used.sum() == 2:

# We just extract the outflows connected to the module vars
if inflows_used and modules_used:
Expand Down

0 comments on commit f86164d

Please sign in to comment.