[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Python interface problem

From: Jim Segrave
Subject: [Bug-gnubg] Python interface problem
Date: Mon, 19 Sep 2005 00:56:16 +0200
User-agent: Mutt/

I started having a hard look at the values handed to Python by the 
gnubg.match() interface and noticed that the no double and double-take
equities seemed to be completely off. As far as I can see, these are
raw copies of values from arOutput, while when they are displayed by
gnubg, for example in the analysis window, those values are run
through mwc2eq before being used. I'd like to fix this, as I want to
be able to find all the mistakes in an analysed match within a Python

The problem is that mwc2eq needs a cubeinfo structure, which in turn
needs a matchinfo structure. When the data structures are being built
by walking the list of move records, it's not immediately clear to me
where to get the applicable matchstate and cubeinfo records. If anyone
knows this better than I do, it would save a bit of work so I can fix
the values in the gnubg.match() return structure.

Jim Segrave           address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]