You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
ESTA JSON python dict objects have key 'matchId' and DemoParser.parse_json_to_df() expects key 'matchID'.
Include Information to Reproduce
See screen shots below. Commented out code applies the fix to make things work.
Screenshots
Additional context
I would recommend having a function to convert the ESTA json format to the current one (with default values for newly added fields) so that they are compatible with the current version of awpy.
The text was updated successfully, but these errors were encountered:
Thanks for this issue @ReiaDrucker and apologies for missing it.
I think this issue might be best directed towards the ESTA repo -- probably we should direct people to use the older version of Awpy (e.g., under v2). What do you think? The new version of Awpy will be incompatible with the ESTA data, however we will still be able to access the old under v2 versions of Awpy.
I think simply providing a note that ESTA data files are incompatible with Awpyv2 and to use an earlier version on the ESTA repo is a sufficient solution if you don't intend to maintain compatibility.
As a general note for awpyv2 you may want to consider forcing all strings to be lowercase to avoid similar read issues in the future or include some info about the awpy version used to generate parsed data in the files the parser produces. I mostly just wanted to bring the issue to your attention, I have no real preference for how things are handled.
Describe the bug
ESTA JSON python dict objects have key 'matchId' and DemoParser.parse_json_to_df() expects key 'matchID'.
Include Information to Reproduce
See screen shots below. Commented out code applies the fix to make things work.
Screenshots
Additional context
I would recommend having a function to convert the ESTA json format to the current one (with default values for newly added fields) so that they are compatible with the current version of awpy.
The text was updated successfully, but these errors were encountered: