Skip to content
Snippets Groups Projects
Commit 91ae2ace authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

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.
parent b3acdcb1
No related branches found
No related tags found
No related merge requests found
......@@ -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"]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment