catch_missing_mesh_files#
- brainglobe_atlasapi.atlas_generation.validate_atlases.catch_missing_mesh_files(atlas: BrainGlobeAtlas)[source]#
Check if all structures in the atlas have a corresponding mesh file.
- Parameters:
atlas (BrainGlobeAtlas) – The BrainGlobeAtlas object to validate.
- Returns:
True if all structures listed in the atlas have a corresponding mesh file.
- Return type:
bool
- Raises:
AssertionError – If any structure ID found in atlas.structures does not have a matching .obj file in the atlas’s meshes directory.