Skip to content

Commit 5a3990c

Browse files
committed
indicate success even if xvalidate/generalize is put into train logs folder
1 parent 83ced5f commit 5a3990c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ def generalize_xvalidate_succeeded(kind, logdir, currtime):
12581258
bokehlog.info("ERROR: different numbers of summary directories, "+kind+\
12591259
" directories, and "+kind+" log files.")
12601260
return False
1261-
for wk in [x.split('_')[1] for x in summary_dirs]:
1261+
for wk in [x.split('_')[1] for x in kind_dirs]:
12621262
if not _train_succeeded(logdir, kind, wk, currtime):
12631263
return False
12641264
return True

0 commit comments

Comments
 (0)