Trees | Indices | Help |
|
---|
|
object --+ | TextParser
A parser to create a JaguarOutput object from a Jaguar output file.
The basic organization of this parser is that of a number of line processing callback functions triggered by regular expressions.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
callback =
|
|||
first_line_re = re.compile(r'^Job \S
|
|
|||
|
Parameters file_iter (iterator returning lines of Jaguar output file) jaguar_output (JaguarOutput instance)
|
Add a new results object for a new geometry or scan step. Caller is responsible for storing jo._results before calling this if it needs to be kept. For example, storing results from a geometry in a geopt sequence of results. |
Clean up at the end of a geopt step. Adds the current results to the geopt list and creates a new current results object if appropriate. |
Clean up at the end of a scan step. Adds the current results to the scan list and creates a new current results object. Or, if this a relaxed scan, archives the geopt steps to the scan list and creates an empty geopt_step list. |
Set state indicating the end of an IRC step and its direction. direction (str) Must be 'Forward' or 'Reverse'. |
Parse the provided file iterator. Return a JaguarOutput instance populated with properties parsed from the output file. Parameters file_iter (iterator returning lines of Jaguar output) jaguar_output (JaguarOutput instance) If jaguar_output is provided, that instance will be populated with the properties parsed from the output file. Otherwise, the object provided to the TextParser constructor will be used. |
|
callback
|
first_line_re
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 2 06:33:15 2017 | http://epydoc.sourceforge.net |