With the addition of
Cobra Trap, Zendikar is 100% implemented. But for some reason the PerSetTracking output thinks there is 135 cards in the set instead of 134. It indicates 1 missing card but shows no info. There's 135 instances of ZEN in mtg-data.txt, one of which is the set code at the top, so it must be picking that up somehow (maybe some logic with one of the checks for '\n'?). I'm clueless with
Python (well, debugging in general), but changing line 181 in PerSetTracking.py from
else : to
elif key != "" : seems to fix it. I'm not sure if that's the best method though or if it will affect any of the calculations, so I'm not committing the change. But as far as I can see, the empty key is never added to the currentMissing and all other calcs seem to build from that, so no problem.