Skip to content
Snippets Groups Projects
Commit 338a8a1a authored by Alán Muñoz's avatar Alán Muñoz
Browse files

fix(grouper): cover fringe indexing loss

parent 869b7f86
No related branches found
No related tags found
No related merge requests found
......@@ -407,7 +407,11 @@ def concat_signal_ind(
elif mode == "families":
combined = chainer.get_raw(path, **kwargs)
mother_id_mask = get_mother_ilocs_from_daughters(df)
daughter_ids = combined.index[
combined.index.get_level_values("mother_label") > 0
]
mother_id_mask = get_mother_ilocs_from_daughters(combined)
combined = combined.loc[
combined.index[mother_id_mask].union(daughter_ids)
]
......
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