From b195cb63c7b8b3d7f766d4ee61bd035bcda9b814 Mon Sep 17 00:00:00 2001 From: viktorpm <50667179+viktorpm@users.noreply.github.com> Date: Mon, 12 Feb 2024 11:48:06 +0000 Subject: [PATCH] fixing small bug: validation_functions function argument as variable instead of all_validation_functions (#119) --- bg_atlasgen/validate_atlases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bg_atlasgen/validate_atlases.py b/bg_atlasgen/validate_atlases.py index 56b7618..b9568bf 100644 --- a/bg_atlasgen/validate_atlases.py +++ b/bg_atlasgen/validate_atlases.py @@ -154,7 +154,7 @@ def validate_atlas(atlas_name, version, validation_functions): validation_results = {atlas_name: []} - for i, validation_function in enumerate(all_validation_functions): + for i, validation_function in enumerate(validation_functions): try: validation_function(BrainGlobeAtlas(atlas_name)) validation_results[atlas_name].append(