Skip to content

Handle missing attributes#129

Merged
StoicLoofah merged 5 commits intoggtracker:upstreamfrom
StoicLoofah:126-missing_attributes
Oct 6, 2020
Merged

Handle missing attributes#129
StoicLoofah merged 5 commits intoggtracker:upstreamfrom
StoicLoofah:126-missing_attributes

Conversation

@StoicLoofah
Copy link
Copy Markdown
Collaborator

Fixing #126. I used https://github.com/ggtracker/sc2reader/blob/e22cb674ad148de53e32775681a9c097c79766e6/sc2reader/scripts/sc2attributes.py to generate a new attributes.json, but it actually still didn't get the values we needed, so I just caught the KeyError if it is missing.

@StoicLoofah
Copy link
Copy Markdown
Collaborator Author

I figured out my mistake: I played the co-op game but didn't open the Game Summary from my Match History. I was able to get a bunch more data in there. However, it does appear that I'll need to play with all of the commanders to make sure I cover my bases, so I'll get on that soon.

@StoicLoofah
Copy link
Copy Markdown
Collaborator Author

I played a game with all commanders and opened up the score screens and didn't add any more entries, so hopefully this is sufficient

@StoicLoofah StoicLoofah merged commit 4c67037 into ggtracker:upstream Oct 6, 2020
@StoicLoofah StoicLoofah deleted the 126-missing_attributes branch October 6, 2020 04:20
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