diff --git a/Overlap/Analysis/tests.json b/Overlap/Analysis/tests.json index fbb2bb8002e511d4aeb185bbb13946084c185363..4370b009b8ad75881369740c051c03f1a746285d 100644 --- a/Overlap/Analysis/tests.json +++ b/Overlap/Analysis/tests.json @@ -30,15 +30,21 @@ ] }, "Plot_components_date": { - "description": "plot_components.py with option node and option label with an integer value, so is_node_type is called with an integer value for label.", - "command": [ - "$src_dir/Overlap/Analysis/plot_components.py", - "$tests_old_dir/EGr2nd15md4np3/edgelist.csv", - "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC", - "Anticyclones", - "--save=png", - "--node=204618", - "--label_date=20461" + "description": "plot_components.py with option label with an integer value, so is_node_type is called with an integer value for label.", + "commands": + [ + [ + "ln", "-sf", "$tests_old_dir/EGr2nd15md4np3/e_overestim.txt", + "$tests_old_dir/Extract_component_nx_2" + ], + [ + "$src_dir/Overlap/Analysis/plot_components.py", + "$tests_old_dir/Extract_component_nx_2/component.csv", + "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC", + "Anticyclones", + "--save=png", + "--label_date=20461" + ] ] }, "Extract_component": @@ -74,5 +80,14 @@ ["$src_dir/Overlap/Analysis/extract_component_nx.py", "$tests_old_dir/EGr2nd15md4np3_cyclo/edgelist.csv", "286461", "component.csv"] + }, + "Extract_component_nx_2": + { + "description": "Serves as input to test Plot_components_date.", + "command": + ["$src_dir/Overlap/Analysis/extract_component_nx.py", + "$tests_old_dir/EGr2nd15md4np3/edgelist.csv", "204618", + "component.csv"], + "exclude_cmp": ["e_overestim.txt"] } }