We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed3e9fe commit a11573eCopy full SHA for a11573e
1 file changed
src/aind_dynamic_foraging_basic_analysis/plot/plot_fip.py
@@ -613,7 +613,7 @@ def compute_hierarchical_error(
613
# Organize results
614
for index, val in enumerate(result.index.values):
615
bootstraps[index]["time"] = val
616
- result["hb_sem"] = [x["data_sem"] for x in bootstraps]
+ result["hb_sem"] = [x["{}_sem".format(data_column)] for x in bootstraps]
617
618
return result, bootstraps
619
0 commit comments