ReportHtml(protocol, ctfMonitor, sysMonitor, movieGainMonitor, publishCmd=None, **kwargs)¶
Create an html report with a summary of the processing. The report will be updated with a given frequency.
Function to generate thumbnails for the report. Uses data from self.thumbPaths.
===== Params ===== - firstThumbIndex: index from which we start generating thumbnails - micScaleFactor: how much to reduce in size the micrographs.
getThumbPaths(thumbsDone=0, ctfData=None, ext='png', micIdSet=None)¶
Adds to self.thumbPaths the paths to the report thumbnails that come from the alignment and/or ctf protocol.
===== Params ===== - thumbsDone: how many thumbnails have already been generated.we will get paths starting from this index
- ctfData: dict resulting from ctfMonitor.getData()
- ext: extension of the thumbnail images. Defaults to png.
- micIdSet: mic indexes to use
Setup actions for the html report: create directories to store thumbnails, check if thumbnails are already generated in the alignment protocol.