Commit 325d1b9e authored by lucas_miranda's avatar lucas_miranda
Browse files

Fixed a bug that introduced an additional ghost data point when applying smoothing

parent 9d6fbfe0
......@@ -205,7 +205,7 @@ class project:
for key, value in tab_dict.items():
x = value.xs("x", level="coords", axis=1, drop_level=False)
y = value.xs("y", level="coords", axis=1, drop_level=False)
lik: pd.DataFrame = value.xs(
lik = value.xs(
"likelihood", level="coords", axis=1, drop_level=True
)
......@@ -225,7 +225,7 @@ class project:
)
)
smooth.columns = cols
tab_dict[key] = smooth
tab_dict[key] = smooth.iloc[1:, :]
for key, tab in tab_dict.items():
tab_dict[key] = tab[tab.columns.levels[0][0]]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment