Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sgf-viewer: Fix prepare_data parsing FAQ section, fix victim/adversar…
…y text spacing (#88) ### Fix 1 Add spacing between adversary and victim labels. Before: ![Screen Shot 2023-06-05 at 18 16 11](https://github.com/AlignmentResearch/KataGoVisualizer/assets/7245938/f8e9cc1b-3911-4c1b-8805-45770617beb8) After: ![Screen Shot 2023-06-05 at 18 16 31](https://github.com/AlignmentResearch/KataGoVisualizer/assets/7245938/d86496a8-f0f3-45aa-8103-5ea48083e2b9) ### Fix 2 `prepare_data.py` crashes on FAQ section because it expects certain fields for downloading SGFs. The FAQ doesn't have any associated SGFs, though, so `prepare_data.py` just shouldn't do any data preparation for the FAQ section. The error `prepare_data.py` would hit: ``` Traceback (most recent call last): File "prepare_data/prepare_data.py", line 46, in <module> server = section["server"] ```
- Loading branch information