Some coding style fixes for generate_atlases
Coding style