From 9ce4441a3c5c39ae0b64a25ee4227641c244d837 Mon Sep 17 00:00:00 2001 From: Viktor Plattner Date: Mon, 12 Feb 2024 11:34:47 +0000 Subject: [PATCH] fixing small bug: validation_functions function argument as variable instead of all_validation_functions --- 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(