Skip to content
Snippets Groups Projects
Commit 0effc7d1 authored by nfontrod's avatar nfontrod
Browse files

src/find_interaction_cluster/clip_figures/clip_compo_analyser.py: fix...

src/find_interaction_cluster/clip_figures/clip_compo_analyser.py: fix update_composition_group function
parent b7c8f6cd
No related branches found
No related tags found
No related merge requests found
...@@ -380,8 +380,7 @@ def update_composition_group(df_comp: pd.DataFrame, display_size: bool ...@@ -380,8 +380,7 @@ def update_composition_group(df_comp: pd.DataFrame, display_size: bool
gr: f"{gr}({df_comp[df_comp['group'] == gr].shape[0]})" gr: f"{gr}({df_comp[df_comp['group'] == gr].shape[0]})"
for gr in df_comp["group"].unique() for gr in df_comp["group"].unique()
} }
df_comp["group"] = df_comp["group"].map(d)
df_comp["group"].map(d)
return df_comp return df_comp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment