bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] feature request: Automatic rollouts on pos-files


From: crawling . weasel
Subject: Re: [Bug-gnubg] feature request: Automatic rollouts on pos-files
Date: Fri, 13 Aug 2004 14:09:24 +0200

> Here is a "dirty" trick which may answer your questions:
> 
> for filename in glob.glob("*.pos"):
>      gnubg.command("import pos " + filename)
>      gnubg.command("hint")
>      gnubg.command("rollout =1 =2 =3")
>      gnubg.command("export position gammonline " + filename +".html")

Thanks. For cube-decisions it still has to be

     gnubg.command("export match HTML " + filename +".html") # MATCH!!!

otherwise gnubg will not include the analysis. I don't understand why the 
export function includes 
the analysis in HTML but not in sgf. However at least it is a first solution. 
Though it will be a bit 
more difficult to import the analysis from html-files as I do not want to 
transfer each result 
manually to my trainer program.

Thanks a lot

Hans




reply via email to

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