Definition at line 713 of file SortModuleTimes.py.
def SortModuleTimes.TabularAlignmentClass.LineNo.__init__ |
( |
|
self, |
|
|
|
lineno, |
|
|
|
success_factor = 5. |
|
) |
| |
Definition at line 714 of file SortModuleTimes.py.
715 TabularAlignmentClass.LineIdentifierClass.__init__(self)
716 if isinstance(lineno, int): self.
lineno = [ lineno ]
717 else: self.
lineno = lineno
def __init__(self, lineno, success_factor=5.)
def SortModuleTimes.TabularAlignmentClass.LineNo.__call__ |
( |
|
self, |
|
|
|
iLine, |
|
|
|
rawdata |
|
) |
| |
Definition at line 726 of file SortModuleTimes.py.
728 for lineno
in self.
lineno:
729 if self.
matchLine(lineno, iLine, rawdata): success += 1.
730 if success == 0:
return None
def matchLine(self, lineno, iLine, rawdata)
def __call__(self, iLine, rawdata)
def SortModuleTimes.TabularAlignmentClass.LineNo.matchLine |
( |
|
self, |
|
|
|
lineno, |
|
|
|
iLine, |
|
|
|
rawdata |
|
) |
| |
Definition at line 721 of file SortModuleTimes.py.
722 if lineno < 0: lineno = len(rawdata) + lineno
723 return iLine == lineno
def matchLine(self, lineno, iLine, rawdata)
SortModuleTimes.TabularAlignmentClass.LineNo.lineno |
SortModuleTimes.TabularAlignmentClass.LineNo.success_factor |
The documentation for this class was generated from the following file: