Closed kzfm closed 5 years ago
def mol2xyz(self): xyz_string = "{} 1\n".format(Chem.GetFormalCharge(self.mol)) for _, atom in enumerate(self.mol.GetAtoms()): pos = self.mol.GetConformer().GetAtomPosition(atom.GetIdx()) xyz_string += "{} {} {} {}\n".format(atom.GetSymbol(), pos.x, pos.y, pos.z) xyz_string += "units angstrom\n" return xyz_string
For checking the atom order of psi4 output and input molecule. It used for test, now it is not necessary. I will remove it. Thanks.
removed