From 91ae2ace961f6181de8db325c7a3cfd557f7bf26 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Wed, 20 Apr 2022 10:40:30 +0200 Subject: [PATCH] Use a better defined test of `cost_function.py` Now that we read SHPC on the command line and the SHPC are not necessarily separated by year, we can use input other than `$PWD/Global_1993_2020`, and we do not have to specially prepare a file `sgemented.gt` for this test. --- Tests/tests.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Tests/tests.json b/Tests/tests.json index a79b35cd..11e2db37 100644 --- a/Tests/tests.json +++ b/Tests/tests.json @@ -14,12 +14,15 @@ { "title": "Cost_functions", "command": - ["$src_dir/cost_function.py", "$PWD/Global_1993_2020/1993/SHPC_anti"], + [ + "$src_dir/cost_function.py", + "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti" + ], "env": {"PYTHONPATH": "$src_dir/Overlap:$src_dir/Common"}, "symlink": [ - "$PWD/Global_1993_2020/Eddy_graph_anti/node_id_param.json", - "$PWD/segmented.gt" + "$tests_old_dir/EGr2nd15md4/node_id_param.json", + "$PWD/Segments/segments.graphml" ], "exclude_cmp": ["timings.txt"] } -- GitLab