A comparison of coronal mass ejections identified by manual and automatic methods