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

Add option `--avg_fix`

Add option `--avg_fix` in tests to reproduce previous behaviour.
parent 1e9d5109
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"Perf_cost_function": { "Perf_cost_function": {
"description": "Performance test with adjustable size of input.", "description": "Performance test with adjustable size of input.",
"command": [ "command": [
"$src_dir/Trajectories/cost_function.py", "$src_dir/Trajectories/cost_function.py", "--avg_fix",
"$my_data_dir/Global_1993_2023/SHPC", "$my_data_dir/Global_1993_2023/SHPC",
"Anticyclones", "Anticyclones",
"$PWD/Perf_segments/segments.gt", "$PWD/Perf_segments/segments.gt",
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
}, },
"Cost_functions": { "Cost_functions": {
"command": [ "command": [
"$src_dir/Trajectories/cost_function.py", "$src_dir/Trajectories/cost_function.py", "--avg_fix",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC", "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
"Anticyclones", "Anticyclones",
"$tests_old_dir/Segments/segments.graphml", "$tests_old_dir/Segments/segments.graphml",
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
"Greece_cost_function": { "Greece_cost_function": {
"description": "This is a case where the speed is not defined on a whole segment. It can be seen in the properties first_av_ros or last_av_ros.", "description": "This is a case where the speed is not defined on a whole segment. It can be seen in the properties first_av_ros or last_av_ros.",
"command": [ "command": [
"$src_dir/Trajectories/cost_function.py", "$src_dir/Trajectories/cost_function.py", "--avg_fix",
"$tests_old_dir/Greece/SHPC", "$tests_old_dir/Greece/SHPC",
"Anticyclones", "Anticyclones",
"$tests_old_dir/Greece_segments/segments.graphml", "$tests_old_dir/Greece_segments/segments.graphml",
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
"description": "Like Greece_cost_function but without option --debug.", "description": "Like Greece_cost_function but without option --debug.",
"command": "command":
[ [
"$src_dir/Trajectories/cost_function.py", "$src_dir/Trajectories/cost_function.py", "--avg_fix",
"$tests_old_dir/Greece/SHPC", "Anticyclones", "$tests_old_dir/Greece/SHPC", "Anticyclones",
"$tests_old_dir/Greece_segments/segments.graphml", "$tests_old_dir/Greece_segments/segments.graphml",
"segments_cost_functions.graphml" "segments_cost_functions.graphml"
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
"I want a larger case than Greece to test script cost_function.py.", "I want a larger case than Greece to test script cost_function.py.",
"command": "command":
[ [
"$src_dir/Trajectories/cost_function.py", "$src_dir/Trajectories/cost_function.py", "--avg_fix",
"$my_data_dir/Eurec4A/SHPC", "Anticyclones", "$my_data_dir/Eurec4A/SHPC", "Anticyclones",
"$tests_old_dir/Eurec4A_segments/segments.graphml", "$tests_old_dir/Eurec4A_segments/segments.graphml",
"segments_cost.graphml" "segments_cost.graphml"
......
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