James McCool commited on
Commit
d342b82
·
1 Parent(s): 2804dab

Fix stack count variable in app.py

Browse files

- Updated the variable name from 'player_count_var' to 'stack_count_var' to accurately reflect its purpose in the stack frame calculations.
- This change enhances code clarity and ensures the correct tracking of stack counts in the application.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -321,7 +321,7 @@ with tab2:
321
  st.session_state['stack_frame'] = set_frame
322
  else:
323
  st.session_state['stack_frame'] = pd.merge(st.session_state['stack_frame'], set_frame, on='Stack', how='outer')
324
- player_count_var += 1
325
  st.dataframe(st.session_state['stack_frame'].
326
  sort_values(by='Exposure Overall', ascending=False).
327
  style.background_gradient(cmap='RdYlGn').
 
321
  st.session_state['stack_frame'] = set_frame
322
  else:
323
  st.session_state['stack_frame'] = pd.merge(st.session_state['stack_frame'], set_frame, on='Stack', how='outer')
324
+ stack_count_var += 1
325
  st.dataframe(st.session_state['stack_frame'].
326
  sort_values(by='Exposure Overall', ascending=False).
327
  style.background_gradient(cmap='RdYlGn').