Hello,
I want to loop through a bunch of xyz files for geometry optimization.
I tried:
with open('structures/pep_0.xyz') as f:
xyz = f.read()
PEP = Molecule.from_string(xyz)
PEP.set_multiplicity(1)
PEP.set_molecular_charge(-3)
Do I then add the line:
molecule PEP
Then I want to freeze the dihedral but it doesn’t seem to accept the same string input for the dihedral as when I entered the coordinates as a copy and pasted string inside of brackets.
Like:
molecule PEP {
x y z
x y z
}
How can I use the Molecule class so that I can add the proper charge and multiplicity and still use the frozen_dihedral string?
Thank you,
Dan