I have multiple Q-Chem output files for TS search starting and finishing with frequency calculations (two sets of calculated IR data in total). To parse and plot spectra I use cclib and a script discussed recently. But when cclib parses output, it combines both frequency calculations. Is there a way to parse only one (the second) selectively?
1 Answer
I think the easiest way to parse multiple-job files from Q-Chem is if you just manually split the output file into the parts that pertain to the individual jobs. Just locate where the first job ends and the second one starts and save the output in individual files. If you have lots of those jobs to split, then I am sure this could be done with the head
and tail
commands.
-
$\begingroup$ This is the correct answer, because a general solution isn't implemented yet (github.com/cclib/cclib/issues/657). $\endgroup$ Jan 3, 2021 at 5:23
@@@
correct? If not you can revert my edit $\endgroup$