Skip to content

Commit 0704209

Browse files
authored
1.10.1 (#485)
* minor fixes and readme
1 parent 6005579 commit 0704209

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ This estimate should be reasonably accurate as long as you have not changed the
123123
* **Influential Style** will consider mostly 4th+ line moves, leading to a center-oriented style.
124124
* **Territory Style** is biased in the opposite way, towards 1-3rd line moves.
125125
* **KataJigo** is KataGo attempting to win by 0.5 points, typically by responding to your mistakes with an immediate mistake of it's own.
126+
* **KataAntiMirror** is KataGo assuming you are playing mirror go and attempting to break out of it with profit as long as you are.
126127

127128
The Engine based AIs (KataGo, ScoreLoss, KataJigo) are affected by both the model and choice of visits and maximum time,
128129
while the policy net based AIs are affected by the choice of model file, but work identically with 1 visit.
@@ -186,8 +187,10 @@ In addition to shortcuts mentioned above and those shown in the main menu:
186187
* **[Shift-b]** Go back the main branch.
187188
* **[n]** As in clicking the forward red arrow, go to one move before the next mistake (orange or worse) by a human player.
188189
* **[Shift-n]** As in clicking the backward red arrow, go to one move before the previous mistake.
189-
* **[scroll up]**: Undo move. Only works when hovering the cursor over the board.
190-
* **[scroll down]**: Redo move. Only works when hovering the cursor over the board.
190+
* **[scroll mouse]**:
191+
* When hovering the cursor over the right panel: Redo/Undo move.
192+
* When hovering over a candidate move: Scroll through principal variation.
193+
* **[middle/scroll wheel click]**: Add principal variation to the move tree. When scrolling, only moves up to the point you are viewing are added.
191194
* **[click on a move]**: See detailed statistics for a previous move, along with expected variation that was best instead of this move.
192195
* **[double-click on a move]**: Navigate directly to just before that point in the game.
193196
* **[Ctrl-V]**: Load SGF from the clipboard and do a 'fast' analysis of the game (with a high priority normal analysis for the last move).
@@ -207,7 +210,7 @@ Keep in mind that partial games are not uploaded,
207210

208211
## <a name="themes"></a> Themes
209212

210-
* See [these instructions](THEMES.md) for how to modify the look of any graphics or colours, and creating or install themes.
213+
See [these instructions](THEMES.md) for how to modify the look of any graphics or colours, and creating or install themes.
211214

212215
## <a name="faq"></a> FAQ
213216

‎katrain/core/base_katrain.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,13 @@ def _load_config(self, force_package_config):
113113
except Exception: # noqa E722 broken file etc
114114
version_str = "0.0.0"
115115
version = [0, 0, 0]
116-
if version < parse_version(CONFIG_MIN_VERSION):
116+
min_version = parse_version(CONFIG_MIN_VERSION)
117+
if version < min_version:
117118
backup = f"{user_config_file}.{version_str}.backup"
118119
shutil.copyfile(user_config_file, backup)
119120
shutil.copyfile(package_config_file, user_config_file)
120121
self.log(
121-
f"Copied package config file to {user_config_file} as user file is outdated or broken ({version}<{CONFIG_MIN_VERSION}). Old version stored as {backup}",
122+
f"Copied package config file to {user_config_file} as user file is outdated or broken ({version}<{min_version}). Old version stored as {backup}",
122123
OUTPUT_INFO,
123124
)
124125
config_file = user_config_file

‎katrain/core/constants.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROGRAM_NAME = "KaTrain"
2-
VERSION = "1.10.0"
2+
VERSION = "1.10.1"
33
HOMEPAGE = "https://github.com/sanderland/katrain"
44
CONFIG_MIN_VERSION = "1.10.0" # keep config files from this version
55
ANALYSIS_FORMAT_VERSION = "1.0"

‎katrain/core/engine.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ def _write_stdin_thread(self): # flush only in a thread since it returns only w
329329
except queue.Empty:
330330
continue
331331
with self.thread_lock:
332-
self.katrain.log(f"GOT QUERY: {query}", OUTPUT_DEBUG)
333332
if "id" not in query:
334333
self.query_counter += 1
335334
query["id"] = f"QUERY:{str(self.query_counter)}"

0 commit comments

Comments
 (0)