James McCool commited on
Commit
5628499
·
1 Parent(s): 26efe66

Update session state key in app.py from 'origin_player_exposures' to 'player_summary' to improve player statistics management and ensure accurate data handling during lineup generation.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1243,7 +1243,7 @@ with tab2:
1243
  player_stats = []
1244
  player_columns = [col for col in display_frame.columns if col not in excluded_cols]
1245
 
1246
- if 'origin_player_exposures' not in st.session_state:
1247
  if type_var == 'Showdown':
1248
  for player in player_names:
1249
  # Create mask for lineups where this player is Captain (first column)
 
1243
  player_stats = []
1244
  player_columns = [col for col in display_frame.columns if col not in excluded_cols]
1245
 
1246
+ if 'player_summary' not in st.session_state:
1247
  if type_var == 'Showdown':
1248
  for player in player_names:
1249
  # Create mask for lineups where this player is Captain (first column)