better error message in diffusion analyzer