| Trees | Indices | Help |
|
|---|
|
|
The base class for log parsers in Qube, it provides all the functionality needed with the exception of calculating in-frame progress.
Since calculating in-frame progress requires interpreting the extracted string from the logs, derived methods should override this class' calcProgress() method. See the docstring for this class' calcProgress()
|
|||
|
|||
| dict of lists |
|
||
float
|
|
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Scan the log stream for matches to the job's various regexes. Return a dict of lists, key is the regex name as specificied in the job package with the leading 'regex_' stripped, the list is all matches for the regex. Only return non-empty lists.
|
Calculate the internal progress of a piece of work (or a cmdline job) and return it as a float between 0 and 1. The extraction of the progress value via the job's "progress" regular expression is only the first aspect of determining how close a particular chunk is to completing; the other part is figuring out what to do with the frame or the "% complete" string that's been pulled out of the log stream and converting it into the expected numerical range so that the QubeGUI knows what to do with it. 2-digit precision is preferred, more precision will be truncated in the QubeGUI. It is expected that this method be overridden for any log parser that is expected to calculate a "done" value from the log contents.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 17 10:45:03 2017 | http://epydoc.sourceforge.net |