Пример #1
0
 def outputCustomPlatesAll(self):
     """Outputs coloured platesheets in a format given by a dialog."""
     fileName = self.getOutputFileName("results-all")
     if fileName != "":
         results = self.tabs.getAllResultsTable()
         results = ResultsTable(results)
         labels = results.getLabels()
         labels, ok = GetPlateLabels.run(labels)
         if ok:
             pass
Пример #2
0
 def outputColouredPlatesAllGeneral(self, suffix, kea):
     """Outputs coloured platesheets for all rounds of screening."""
     fileName = self.getOutputFileName(suffix)
     if fileName != "":
         results = self.tabs.getAllResultsTable()
         results = ResultsTable(results)
         labels = results.getLabels()
         labels, ok = GetPlateLabels.run(labels)
         if ok:
             results.setLabels(labels)
             workBook = Workbook()
             addAllResultsTable(workBook, results, kea, self.markerdata, self.colours)
             addMarkerSheets(
                 workBook,
                 results,
                 kea,
                 self.markerdata,
                 self.markernotes,
                 self.colours,
                 self.var["images"],
                 self.validated,
             )
             addPlateSheets(workBook, results, kea, self.markerdata, self.colours)
             workBook.save(fileName + ".xlsx")