In the a molecule I am working on, there is a certain O-H bond. I wanted to study the variation of energy on changing the bond length, for that I did a relax-scan computation on g16. I have generated the output where in the .log file I have 50 different structures, each with their energies.
As my next step, I want to calculate vertical excitation energy for each of the 50 structures. I can do it manually by switching to each structure from the window shown in the attachment and use the GUI to generate a .com file of energy calculation for each of them.
But this process gets too tedious and eventually impossible as the number of structures in my scan increase to >100. Is there any way to automate this using some script? Any help will be appreciated