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

MM writes an RelayEvent E0 record with an empty total_athlete_age field #16

Closed
ericvsmith opened this issue Jan 29, 2024 · 4 comments
Closed

Comments

@ericvsmith
Copy link
Contributor

This record:

E01PV      APVWM    M 2007 19 1314   07292023                            2:07.99S     1 8     6                                                6N 5005  X    N93

was written by MM 8. The total_athlete_age field is all blanks (columns 35-37). But it's marked as required, so my program blows up.

The odd thing is that this is line ~1500 in a results file, and this is the first E0 record with this problem. Before this line there are hundreds of E0 records with 0 for this field in the file, I can't figure out why this one is blanks.

@tdsmith, could you mark RelayEvent.total_athlete_age as being optional, with override_m1=True? Thanks.

@ericvsmith
Copy link
Contributor Author

@tdsmith : Any chance I could get you to patch this and make a release? I can supply a PR if that's easier for you, but it's a tiny change. Thanks!

@tdsmith
Copy link
Owner

tdsmith commented Feb 4, 2024 via email

ericvsmith added a commit to ericvsmith/sdif that referenced this issue Feb 5, 2024
@ericvsmith
Copy link
Contributor Author

Done! See #17. With this change, my sample file is parsed correctly.

tdsmith pushed a commit that referenced this issue Feb 5, 2024
@ericvsmith
Copy link
Contributor Author

24.2.1.post0 solves my problem. Thanks again!

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

No branches or pull requests

2 participants