Table of Contents

Class: Var interface/denzolog.py

Class used to trace a specific variable throughout a denzo run.

Methods   
__init__
add
result
scan
  __init__ 
__init__ (
        self,
        name,
        re,
        groupno,
        )

Constructor.

parameters:

name

the name of the variable.

re

a regular expression object that can be used to extract the value of the variable from the denzo log file.

groupno

the number of the group in the regular expression that contains the value.

  add 
add ( self )

Add the last found value to the list.

  result 
result ( self,  rec )

Store all our values in the given record.

A new attribute in rec with the name of our variable will contain the list of values that were found.

  scan 
scan (
        self,
        line,
        m=None,
        )

Scan a line for a potential new value.


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING