jjallaire / draftpod

Draft simulator for Magic the Gathering
https://draftpod.org
MIT License
36 stars 7 forks source link

Deckbox, Decked Builder, and manual CSVs for STX not working. #80

Open adambmedia opened 3 years ago

adambmedia commented 3 years ago

Attached are unit test CSVs.

Deckbox gives error: "Please upload a CSV" Manual Csv's according to the provided format {Set, Card, Regular, Foil} give error, "collection does not contain cards from Strixhaven."

Manual.csv FromDeckbox.csv

jjallaire commented 3 years ago

Thanks! Looking at the code and your input files, I think the problem may be that our set name is "Strixhaven" rather than "Strixhaven: School of Mages". I made a change to the set name here: https://github.com/jjallaire/draftpod/commit/821e814b850846e3d718338fca2c75877da68823.

Could you try importing again w/ this change?

I tested the FromDeckbox.csv and it got past the first error (then complained of only having 5 cards).

For Manual.csv Draftpod is still complaining that there is no id field -- I believe you've got Card in there and it's looking for Card Number or id.