raise if one does not select anything from a pdb