Skip to content

Commit

Permalink
hotfix: quick preview
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhou committed Apr 15, 2024
1 parent 86670e9 commit 39f7f18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/util/aws_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import pandas as pd
import streamlit as st

from .settings import draw_type_mapper_session_level

# --------------------------------------
data_sources = ['bonsai', 'bpod']

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 39f7f18

Please sign in to comment.