Add a error message when there are no sampling was performed