def getMergingStatisticsLogOutput(self):
     mergingStats = dutils.readLog(self.getLogFilePath(),
                                   'Merging statistics',
                                   'Writing html report')
     if mergingStats not in (None, ''):
         mergeStats = "\n{}".format(textwrap.dedent(mergingStats))
     else:
         mergeStats = mergingStats
     return mergeStats
Ejemplo n.º 2
0
 def getBravaisLogOutput(self):
     # Try-except to avoid problems when there is no log file to read
     try:
         bravaisOutput = dutils.readLog(
             self.getLogFilePath('dials.refine_bravais_settings'), 'Chiral',
             'Saving')
     except FileNotFoundError:
         bravaisOutput = None
     if bravaisOutput not in (None, ''):
         bravaisOut = "\n{}".format(textwrap.dedent(bravaisOutput))
     else:
         bravaisOut = bravaisOutput
     return bravaisOut
Ejemplo n.º 3
0
 def getIndexLogOutput(self):
     try:
         indexOutput = dutils.readLog(self.getLogFilePath('dials.index'),
                                      'crystal models:',
                                      'Saving',
                                      flush='###')
     except FileNotFoundError:
         indexOutput = None
     if indexOutput not in (None, ''):
         indexOut = "\n{}".format(textwrap.dedent(indexOutput))
     else:
         indexOut = indexOutput
     return indexOut
 def getLogOutput(self):
     logOutput = dutils.readLog(self.getLogFilePath(),
                                'Summary vs resolution', 'Timing')
     return logOutput
Ejemplo n.º 5
0
 def getLogOutput(self):
     logOutput = dutils.readLog(self.getLogFilePath(), 'Recommended',
                                'Saving')
     return logOutput.strip()
 def getSpaceGroupLogOutput(self):
     spaceGroup = dutils.readLog(self.getLogFilePath(),
                                 'Space group being used',
                                 'Scaling models have been initialised')
     return spaceGroup
 def getLogOutput(self):
     logOutput = dutils.readLog(
         self.getLogFilePath(),
         'Histogram',
         '---')
     return logOutput