[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] export html: what is going on?
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] export html: what is going on? |
Date: |
Mon, 15 Jul 2002 19:59:44 +0000 |
User-agent: |
Mutt/1.2.5.1i |
On Tue, Jul 16, 2002 at 07:54:10AM +1200, Joseph Heled wrote
> Joern Thyssen wrote:
> >
> > On Mon, Jul 15, 2002 at 01:06:26PM +1200, Joseph Heled wrote
> > > Hi,
> > >
> > > See the .html file???
> > >
> > > (No game) import mat "/home/joseph/tmp/gbn/mgnu_zp-pld-2.mat"
> >
> > There is something wrong with the .mat file:
> >
> > 11 point match
> >
> > Game 1
> > mgnu_zp : 0 pld : 0
> > 1) 42: 17/21 19/21
> > 2) 63: 24/18 18/15 45: 1/5 12/17
> > 3) 25: 15/13 13/8 55: 17/22 17/22 19/24 19/24
> > 4) 44: Doubles => 2
> > 5) Drops Wins 1 points
> >
> > The first move 42 is presumably played 8/4 6/4, but the .mat file says
> > 17/21 19/21, which is an illegal move!
> >
> > I've commited a patch that will make the importer warn about invalid
> > moves in .mat files.
> >
> > Jørn
>
>
> This .mat file is the result of my fibs -> mat script. This is how the move is
> given in the FIBS oldmoves file. I know I have to switch the direction when
> parsing oldmoves, but I did not know there was a strict direction for .mat.
I'm not sure either, but I've never seen a .mat file before that uses
the convention from your script.
> So is it : Left column always plays 24 ->1, right column 1 -> 24?
I would say that the 42 should have been written as "42: 8/4 6/4". That
is, using the usual convention for listing moves.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)