コード例 #1
0
ファイル: StatRunner.py プロジェクト: uio-bmi/track_rand
 def run(self, reset=True, printProgress=PRINT_PROGRESS):
     if reset:
         MagicStatFactory.resetMemoDict()
         
     results = self._emptyResults()
     try:
         self._checkNumUserBinsIsValid()
     except Exception, e:
         results.addError(e)
         return results
コード例 #2
0
 def isStatisticInChildren(cls, job, statisticName):
     for region in job._userBinSource:
         stat = job._statClass(region, job._track, job._track2, *job._args, **job._kwArgs)
         break
     
     stat.createChildren()
     
     result = cls.searchForStatisticRecursively(stat, statisticName)
     MagicStatFactory.resetMemoDict()
     return result
コード例 #3
0
 def isStatisticInChildren(cls, job, statisticName):
     for region in job._userBinSource:
         stat = job._statClass(region, job._track, job._track2, *job._args, **job._kwArgs)
         break
     
     stat.createChildren()
     
     result = cls.searchForStatisticRecursively(stat, statisticName)
     MagicStatFactory.resetMemoDict()
     return result
コード例 #4
0
 def run(self, reset=True, printProgress=PRINT_PROGRESS):        
     if reset:
         MagicStatFactory.resetMemoDict()
         
     results = self._emptyResults()
     try:
         self._checkNumUserBinsIsValid()
     except Exception, e:
         results.addError(e)
         return results