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

fix(kymograph): fix import typo

parent 02719b51
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import numpy as np ...@@ -6,7 +6,7 @@ import numpy as np
import pandas as pd import pandas as pd
from sklearn.cluster import KMeans from sklearn.cluster import KMeans
from agora.utils.indexing import validate_associatio n from agora.utils.indexing import validate_association
index_row = t.Tuple[str, str, int, int] index_row = t.Tuple[str, str, int, int]
...@@ -122,7 +122,9 @@ def bidirectional_retainment_filter( ...@@ -122,7 +122,9 @@ def bidirectional_retainment_filter(
def melt_reset(df: pd.DataFrame, additional_ids: t.Dict[str, pd.Series] = {}): def melt_reset(df: pd.DataFrame, additional_ids: t.Dict[str, pd.Series] = {}):
new_df = add_index_levels(df, additional_ids) new_df = add_index_levels(df, additional_ids)
return new_df.melt(ignore_index=False, var_name="time (minutes)", value_name="signal").reset_index() return new_df.melt(
ignore_index=False, var_name="time (minutes)", value_name="signal"
).reset_index()
# Drop cells that if used would reduce info the most # Drop cells that if used would reduce info the most
......
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