From 39f7f181f96422ad819b6d5d5006d21a628783fe Mon Sep 17 00:00:00 2001 From: hh_itx_win10 Date: Mon, 15 Apr 2024 11:04:08 -0700 Subject: [PATCH] hotfix: quick preview --- code/util/aws_s3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/util/aws_s3.py b/code/util/aws_s3.py index 510013f..9d38fd8 100644 --- a/code/util/aws_s3.py +++ b/code/util/aws_s3.py @@ -5,6 +5,8 @@ import pandas as pd import streamlit as st +from .settings import draw_type_mapper_session_level + # -------------------------------------- data_sources = ['bonsai', 'bpod'] @@ -54,7 +56,7 @@ def draw_session_plots_quick_preview(df_to_draw_session): rows.append(st.columns(column_setting)) for draw_type in draw_types_quick_preview: - prefix, position, setting = st.session_state.draw_type_mapper_session_level[draw_type] + prefix, position, setting = draw_type_mapper_session_level[draw_type] this_col = rows[position[0]][position[1]] if len(draw_types_quick_preview) > 1 else rows[0] show_session_level_img_by_key_and_prefix( key,