James McCool commited on
Commit
dcd9767
·
1 Parent(s): 68d3916

Add calc_toggle management in app.py for session state tracking

Browse files

- Introduced a new session state variable 'calc_toggle' in app.py to track calculation states when specific entry names are selected, enhancing user experience and session state management during the name matching process.

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -121,6 +121,7 @@ with tab2:
121
  # Apply entry name filter if specific entries are selected
122
  if entry_parse_var == 'Specific' and entry_names:
123
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
 
124
 
125
  if type_var == 'Classic':
126
  working_df['stack'] = working_df.apply(
 
121
  # Apply entry name filter if specific entries are selected
122
  if entry_parse_var == 'Specific' and entry_names:
123
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
124
+ st.session_state['calc_toggle'] = True
125
 
126
  if type_var == 'Classic':
127
  working_df['stack'] = working_df.apply(