| Trees | Indices | Help |
|
|---|
|
|
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.
|
|||
| _output_class | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
callback = {}
|
|||
first_line_re = re.compile("^Job \S+ started on (\S+) at (\w.*
|
|||
|
|||
Parameters
file_iter (iterator returning lines of Jaguar output file)
jaguar_output (JaguarOutput instance)
If provided, this instance will be populated by the parse
method. Otherwise, a new instance will be created and returned
by that method.
|
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. |
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, if
a JaguarOutput instance was provided to the constructor that
instance will be used. Otherwise, a new instance will be created
and returned.
|
|
|||
first_line_re
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:39 2015 | http://epydoc.sourceforge.net |