James McCool commited on
Commit
02e66e5
·
1 Parent(s): 30aeb4e

Add debug output for actual_dict in app.py

Browse files

- Introduced a line to display the contents of 'actual_dict' from session state, aiding in debugging and ensuring visibility of key data during metric calculations.
- This change enhances the development process by providing immediate feedback on the state of important variables.

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -123,6 +123,7 @@ with tab2:
123
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
124
 
125
  # Calculate metrics based on game type
 
126
  if type_var == 'Classic':
127
  working_df['stack'] = working_df.apply(
128
  lambda row: Counter(
 
123
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
124
 
125
  # Calculate metrics based on game type
126
+ st.write(st.session_state['actual_dict'])
127
  if type_var == 'Classic':
128
  working_df['stack'] = working_df.apply(
129
  lambda row: Counter(