Skip to content

Commit 0aece0d

Browse files
committed
add instruction of getting master table by code
1 parent 7cd7a37 commit 0aece0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/Home.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,14 @@ def app():
440440
cols[0].markdown(f'### Filter the sessions on the sidebar\n'
441441
f'##### {len(st.session_state.df_session_filtered)} sessions, '
442442
f'{len(st.session_state.df_session_filtered.subject_id.unique())} mice filtered')
443+
444+
with cols[0].expander(':bulb: Get the master session table by code', expanded=False):
445+
st.code(f'''
446+
#!pip install aind-analysis-arch-result-access
447+
from aind_analysis_arch_result_access.han_pipeline import get_session_table
448+
df = get_session_table(if_load_bpod={st.session_state.bpod_loaded})
449+
''')
450+
443451
with cols[1]:
444452
with st.form(key='load_settings', clear_on_submit=False):
445453
if_load_bpod_sessions = checkbox_wrapper_for_url_query(

0 commit comments

Comments
 (0)