def get_ase_structure(self): """ :return: ASE structure corresponding to the cif file. """ from aiida.orm import CifData cif = correct_cif(self.cif) return CifData.read_cif(io.StringIO(cif))
def get_ase_structure(self): """ Returns ASE representation of the CIF. .. note:: To be removed, as it is duplicated in :py:class:`aiida.orm.nodes.data.cif.CifData`. """ from aiida.orm import CifData return CifData.read_cif(StringIO(self.cif))