def get_ase_structure(self): """ :return: ASE structure corresponding to the cif file. """ from aiida.orm.data.cif import CifData import StringIO return CifData.read_cif(StringIO.StringIO(self.get_corrected_cif()))
def get_ase_structure(self): """ :return: ASE structure corresponding to the cif file. """ import StringIO from aiida.orm.data.cif import CifData cif = correct_cif(self.cif) return CifData.read_cif(StringIO.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.data.cif.CifData`. """ import StringIO from aiida.orm.data.cif import CifData return CifData.read_cif(StringIO.StringIO(self.cif))