1
0
mirror of https://github.com/gryf/coach.git synced 2026-01-06 22:04:15 +01:00

Preset dependent number of csv read attempts in golden testing (#334)

This commit is contained in:
Gal Leibovich
2019-05-28 12:19:57 +03:00
committed by GitHub
parent ddffac8570
commit 251dc9ccc0
3 changed files with 8 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ def test_preset_reward(preset_name, no_progress_bar=True, time_limit=60 * 60, ve
test_passed = False
# get the csv with the results
csv_paths = read_csv_paths(test_path, filename_pattern)
csv_paths = read_csv_paths(test_path, filename_pattern, read_csv_tries=preset_validation_params.read_csv_tries)
if csv_paths:
csv_path = csv_paths[0]