Skip to content

Conversation

@probberechts
Copy link
Contributor

Fixes two bugs in the coordinate transformation of freeze frames:

  • due to an indentation error, freeze frame coordinates were only transformed if an orientation change was needed
  • since the ball coordinates in the freeze frame were taken from the already transformed event, the ball coordinates were transformed twice

Fixes #464

This is an alternative solution for #481. Still, it's maybe not the cleanest fix but at least it keeps everything contained in the StatsBombDeserializer now.

Fixes two bugs in the coordinate transformation of freeze frames:
- due to an indentation error, freeze frame coordinates were only transformed if
  an orientation change was needed
- since the ball coordinates in the freeze frame were taken from the already
  transformed event, the ball coordinates were transformed twice

Fixes PySport#464
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.

Unified direction of play

1 participant