Public Member Functions | Public Attributes | List of all members
UpdateCoreServices.WarningMoveMembers Class Reference

Public Member Functions

def __init__ (self)
 
def search (self, s)
 

Public Attributes

 pattern
 
 regex
 

Detailed Description

Definition at line 142 of file UpdateCoreServices.py.

Constructor & Destructor Documentation

def UpdateCoreServices.WarningMoveMembers.__init__ (   self)

Definition at line 144 of file UpdateCoreServices.py.

144  def __init__(self):
145  self.pattern = r"(\w*)(\.|->)(Efield|ElectronLifetime|DriftVelocity|BirksCorrection|ModBoxCorrection|Temperature|Density|Eloss|ElossVar)\s*\("
146  self.regex = re.compile(self.pattern)

Member Function Documentation

def UpdateCoreServices.WarningMoveMembers.search (   self,
  s 
)

Definition at line 147 of file UpdateCoreServices.py.

147  def search(self, s):
148  match = self.regex.search(s)
149  if not match: return None
150  varname = match.group(1).lower()
151  if 'detp' in varname:
152  return None
153  return match

Member Data Documentation

UpdateCoreServices.WarningMoveMembers.pattern

Definition at line 145 of file UpdateCoreServices.py.

UpdateCoreServices.WarningMoveMembers.regex

Definition at line 146 of file UpdateCoreServices.py.


The documentation for this class was generated from the following file: