From 21ed954c9a01a03f8946731f5fcd85016adc41b8 Mon Sep 17 00:00:00 2001 From: Viktor Plattner Date: Mon, 22 Jan 2024 16:49:22 +0000 Subject: [PATCH] passing atlas_name to validate_mesh_structure_pairs function --- bg_atlasgen/validate_atlases.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bg_atlasgen/validate_atlases.py b/bg_atlasgen/validate_atlases.py index 7851adc..f829947 100644 --- a/bg_atlasgen/validate_atlases.py +++ b/bg_atlasgen/validate_atlases.py @@ -154,8 +154,11 @@ def validate_atlas(atlas_name, version, all_validation_functions): (), # check_additional_references() (), - # validate_mesh_structure_pairs() - (Path(get_brainglobe_dir() / f"{atlas_name}_v{version}"),), + # validate_mesh_structure_pairs(atlas_name: str, atlas_path: Path): + ( + atlas_name, + Path(get_brainglobe_dir() / f"{atlas_name}_v{version}"), + ), ] # list to store the errors of the failed validations