You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\chris\Desktop\MLB\02. MLB Optimizer.py", line 17, in
optimizer.restrict_positions_for_opposing_team(['P'], ['C', 'SS', 'OF', '1B', '2B', '3B'])
File "C:\Users\chris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydfs_lineup_optimizer\lineup_optimizer.py", line 350, in restrict_positions_for_opposing_team
raise ValueError("Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed)")
ValueError: Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed)
[Finished in 157ms]
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "C:\Users\chris\Desktop\MLB\02. MLB Optimizer.py", line 17, in optimizer.restrict_positions_for_opposing_team(['P'], ['C', 'SS', 'OF', '1B', '2B', '3B']) File "C:\Users\chris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydfs_lineup_optimizer\lineup_optimizer.py", line 350, in restrict_positions_for_opposing_team raise ValueError("Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed)") ValueError: Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed) [Finished in 157ms]
Anyone know why this wouldnt be working?
optimizer.restrict_positions_for_opposing_team(['P'], ['C', 'SS', 'OF', '1B', '2B', '3B'])
Traceback (most recent call last):
File "C:\Users\chris\Desktop\MLB\02. MLB Optimizer.py", line 17, in
optimizer.restrict_positions_for_opposing_team(['P'], ['C', 'SS', 'OF', '1B', '2B', '3B'])
File "C:\Users\chris\AppData\Local\Programs\Python\Python310\lib\site-packages\pydfs_lineup_optimizer\lineup_optimizer.py", line 350, in restrict_positions_for_opposing_team
raise ValueError("Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed)")
ValueError: Each restriction should be a tuple of (first_team_positions, second_team_positions, max_allowed)
[Finished in 157ms]
The text was updated successfully, but these errors were encountered: