added error message when there is a phenotype with no variability