-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
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]
Metadata
Metadata
Assignees
Labels
No labels