James McCool commited on
Commit
d9ff2c1
·
1 Parent(s): 9e9bffe

Refine position counting logic in 'Stack Finder' tab to exclude 'QB' and 'DST' from 'UTIL' position increments in Streamlit app

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -1
src/streamlit_app.py CHANGED
@@ -257,7 +257,8 @@ if selected_tab == 'Stack Finder':
257
  if pos == 'UTIL':
258
  # UTIL can be filled by any position
259
  for p in position_counts:
260
- position_counts[p] += 1
 
261
 
262
  # Check if any position exceeds its limit
263
  for pos, limit in position_limits.items():
 
257
  if pos == 'UTIL':
258
  # UTIL can be filled by any position
259
  for p in position_counts:
260
+ if p not in ['QB', 'DST']:
261
+ position_counts[p] += 1
262
 
263
  # Check if any position exceeds its limit
264
  for pos, limit in position_limits.items():