en-croissant icon indicating copy to clipboard operation
en-croissant copied to clipboard

Parse Unrated Elo in PGNs

Open elizaaverywilson opened this issue 6 months ago • 0 comments

Describe the bug

enCroissant deletes PGN tag pairs where BlackElo or WhiteElo is unrated. Per PGN specs, a hyphen should be used for unrated players.

Reproduction

  1. Create a game
  2. Add this to the PGN: [WhiteElo "-"]
  3. Click "Update".
  4. If the bug was reproduced, this tag pair will have been deleted. Working behavior would be to not delete the tag pair, and instead put "Unrated" in the enCroissant Info rating field.

Platform and versions

Version: 0.10.0 Tauri version: 1.6.1 OS: Darwin x86_64 14.2.1

Stack trace

No response

elizaaverywilson avatar Aug 13 '24 13:08 elizaaverywilson