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

Fix sportec current #217

Merged
merged 7 commits into from
Nov 24, 2023
Merged

Fix sportec current #217

merged 7 commits into from
Nov 24, 2023

Conversation

koenvo
Copy link
Contributor

@koenvo koenvo commented Aug 18, 2023

This PR is based on #216

  • Add OwnGoal result
  • Use X/Y-Source-Position as receiver_coordinates when possible

Closes #216

@@ -584,6 +572,13 @@ def deserialize(self, inputs: SportecEventDataInputs) -> EventDataset:

events.append(transformer.transform_event(event))

for i, event in enumerate(events[:-1]):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use X-Source-Position/Y-Source-Position here.

)

first_pass = dataset.find("pass")
assert first_pass.receiver_coordinates == first_pass.next().coordinates
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use X-Source-Position/Y-Source-Position here.

@koenvo koenvo added this to the 3.13 milestone Sep 20, 2023
@koenvo
Copy link
Contributor Author

koenvo commented Nov 16, 2023

@UnravelSports can you check this one?

Copy link
Collaborator

@JanVanHaaren JanVanHaaren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request looks good as far as I can tell.

@koenvo koenvo merged commit 096f959 into PySport:master Nov 24, 2023
19 checks passed
@koenvo koenvo deleted the fix_sportec_current branch November 24, 2023 13:32
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.

2 participants