validate_atlas_name_listed#
- brainglobe_atlasapi.atlas_generation.validate_atlases.validate_atlas_name_listed(atlas: BrainGlobeAtlas)[source]#
Validate that the atlas name is listed in atlas_name.py.
- Parameters:
atlas (BrainGlobeAtlas) – The BrainGlobeAtlas object to validate.
- Returns:
True if the atlas name is listed in atlas_name.py.
- Return type:
bool
- Raises:
AssertionError – If the atlas name is not listed in atlas_name.py.