fsmosca / chess-artist

A python script that can annotate chess games in pgn file with static evaluation or search score of an engine, can annotate an epd file with acd, acs, bm, and ce opcodes, can test engine with epd test suite and can generate chess puzzles.
GNU General Public License v3.0
70 stars 18 forks source link

Ignores files having all caps PGN extension #85

Closed drai8192 closed 2 years ago

drai8192 commented 2 years ago

How to reproduce:

  1. go to PGN folder and rename skillingopp20.pgn to skillingopp20.PGN
  2. edit analyze_chess_game.bat and change input file to skillingopp20.PGN
  3. run analyze_chess_game.bat
  4. it instantly finishes, and chess_artist_log.txt contains only 2 lines, DEBUG :: >> uci and DEBUG :: >> quit

If you rename the input file to .pgn, and use that file name in the bat, it works OK...

Chess Artist v3.1.0 on Windows 10, Python 3.10.0

fsmosca commented 2 years ago

Issue is fixed in this commit https://github.com/fsmosca/chess-artist/commit/56f7732dfbdb5ca3190ecff9d8e5340bf3a7b5b4

Thanks.

drai8192 commented 2 years ago

Thank you, it works now