Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hockey position update #504

Closed
wants to merge 3 commits into from

Conversation

samthom1
Copy link
Contributor

Modified the hockey\constant.py file to align with the positions in the eligibleSlots values. Modified the position and lineupSlots assignments in hockey\player.py to reflect the proper positions in the updated constant.py file.

Align the position IDs with the values inside of the eligible position values
Offset lookups for the forward positions to the new POSITION_MAP assignments for the position and lineupSlot since they don't align with the number values in the eligibleSlots fields.
@samthom1
Copy link
Contributor Author

Refactoring to handle NoneType failure...

Check for None type on position & lineupSlot parsing
@samthom1 samthom1 closed this Nov 21, 2023
@samthom1 samthom1 deleted the hockey_position_update branch November 21, 2023 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant