PDHdata / SmallFormats

Deck-stats server for less-common Magic: the Gathering formats
MIT License
6 stars 0 forks source link

Illegal commander pair #64

Closed vtbassmatt closed 7 months ago

vtbassmatt commented 1 year ago

For example , Monoxa + Dee Kay is not a partner-able pair, but it slipped into the data somehow.

vtbassmatt commented 7 months ago
>>> pairs = Commander.objects.filter(commander2__partner_type=0)
>>> pairs
<CommanderQuerySet [
    <Commander: Norika Yamazaki, the Poet + Heiko Yamazaki, the General>,
    <Commander: Monoxa, Midway Manager + Dee Kay, Finder of the Lost>,
    <Commander: Spellheart Chimera + Thundering Djinn>
]>
>>> pairs.delete()

Each pair had exactly one deck.

vtbassmatt commented 7 months ago
>>> pairs = Commander.objects.filter(commander1__partner_type=0, commander2__isnull=False)
>>> 

(No results.)