Include engine name in PGN
This commit is contained in:
1 parent
fda9012f63
commit
c4e27d393f
1 file changed
+2
-1
+2
-1
@@ -462,6 +462,7 @@ class Cutechess:
|
|||||||
options = config.workload['test'][branch]['options']
|
options = config.workload['test'][branch]['options']
|
||||||
network = config.workload['test'][branch]['network']
|
network = config.workload['test'][branch]['network']
|
||||||
private = config.workload['test'][branch]['private']
|
private = config.workload['test'][branch]['private']
|
||||||
|
engine = config.workload['test'][branch]['engine']
|
||||||
syzygy = config.workload['test']['syzygy_wdl']
|
syzygy = config.workload['test']['syzygy_wdl']
|
||||||
|
|
||||||
# Human-readable name, and scale the time control
|
# Human-readable name, and scale the time control
|
||||||
@@ -488,7 +489,7 @@ class Cutechess:
|
|||||||
|
|
||||||
# Join options together in the Cutechess format
|
# Join options together in the Cutechess format
|
||||||
options = ' option.'.join([''] + re.findall(r'"[^"]*"|\S+', options))
|
options = ' option.'.join([''] + re.findall(r'"[^"]*"|\S+', options))
|
||||||
return '-engine dir=Engines/ cmd=./%s proto=uci %s%s name=%s' % (command, control, options, branch)
|
return '-engine dir=Engines/ cmd=./%s proto=uci %s%s name=%s-%s' % (command, control, options, engine, branch)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def pgnout_settings(config, timestamp, cutechess_idx):
|
def pgnout_settings(config, timestamp, cutechess_idx):
|
||||||
|
|||||||
Reference in new issue
Block a user