From 54a9b96fd7c35d2f3e61c2cc32da991c4a16b70c Mon Sep 17 00:00:00 2001 From: Manuel Gunther <siebenkopf@googlemail.com> Date: Tue, 24 Oct 2017 10:36:51 -0600 Subject: [PATCH] Tested correct location of Experiment.info files --- bob/bio/base/test/test_scripts.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bob/bio/base/test/test_scripts.py b/bob/bio/base/test/test_scripts.py index ddb6d936..c7ac7681 100644 --- a/bob/bio/base/test/test_scripts.py +++ b/bob/bio/base/test/test_scripts.py @@ -581,6 +581,12 @@ def test_grid_search(): assert bob.bio.base.script.grid_search.task_count == 6 # but no job in the grid assert bob.bio.base.script.grid_search.job_count == 0 + # assert that the Experiment.info files are at the right location + for p in (1,2): + for f in (1,2): + for s in (1,2): + if 2*p>f: + assert os.path.exists(os.path.join(test_dir, "test_grid_search/Default/P%d/F%d/S%d/Experiment.info"%(p,f,s))) # now, in the grid... parameters = [ -- GitLab