raise a better error on empty poscar strings