New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generated sgf File did not perfectly match SGF format #26
Comments
Thank you reporting this, this is certainly a bug. You can fix the issue temporarily by putting empty brackets after the black pass move, "B[]" instead of "B". If you could upload the offending SGF file it would be greatly appreciated! |
Here the generated file (problem)
yes, you right another temporary solution is to add empty brackets [] before the last ")" |
You appear to be using sente 0.2.0, a highly outdated version of Sente. Please update to 0.4.1+. |
Closing due to the issue being fixed in sense 0.3.0 |
tested on colab and jupyter (localhost)
then run to record the game into *.sgf
and to replay previous game recorded
error traceback when execute play_sgf("sgf/sente-random_player.sgf")
temporary solution is to edit "sgf/sente-random_player.sgf"
e.g.
;B[df];W[ba];B[fh];W[ch];B[ef];W[cb];B[ad];W[hb];B[ed];W[bg];B[da];W[af];B[be];W[ie];B[ab];W[gi];B[bb];W[bh];B[eg];W[eb];B[hc];W[];B[ei];W[fe];B[dh];W[cg];B[ee];W[cf];B[ic];W[ha];B[bd];W[dd];B[hg];W[fc];B[he];W[hh];B[di];W[ff];B[bf];W[ii];B[gf];W[gg];B)
into
;B[df];W[ba];B[fh];W[ch];B[ef];W[cb];B[ad];W[hb];B[ed];W[bg];B[da];W[af];B[be];W[ie];B[ab];W[gi];B[bb];W[bh];B[eg];W[eb];B[hc];W[];B[ei];W[fe];B[dh];W[cg];B[ee];W[cf];B[ic];W[ha];B[bd];W[dd];B[hg];W[fc];B[he];W[hh];B[di];W[ff];B[bf];W[ii];B[gf];W[gg];)
notice on example above, remove the "B" on the last before ")"
best regards
The text was updated successfully, but these errors were encountered: