Skip to content

Commit 89cb595

Browse files
committed
add PI to Metacolumns
1 parent b7b12ef commit 89cb595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/pages/0_Data inventory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def load_presets():
6767
QUERY_PRESET, VENN_PRESET = load_presets()
6868

6969
META_COLUMNS = [
70+
"PI",
7071
"Han_temp_pipeline (bpod)",
7172
"Han_temp_pipeline (bonsai)",
7273
"VAST_raw_data_on_VAST",
@@ -486,7 +487,7 @@ def add_venn_diagrms(df_merged):
486487
# -- Show and download df for this Venn --
487488
circle_columns = [c_s["column"] for c_s in venn_preset["circle_settings"]]
488489
# Show histogram over time for the columns and patches in preset
489-
df_this_preset = df_merged[circle_columns]
490+
df_this_preset = df_merged[["PI"] + circle_columns]
490491
# Filter out rows that have at least one True in this Venn
491492
df_this_preset = df_this_preset[df_this_preset.any(axis=1)]
492493

0 commit comments

Comments
 (0)