reverting abipy calls to lowlevel pymatgen calls