Пример #1
0
    def importLCPlates(self):
        """Imports Lightcyler generated .txt TSV files containing HRM or
		Taqman results for the round of screening on the active tab. Each
		file should contain one plate."""
        title = "Import LC plate file(s)..."
        filter_mask = "Lightcycler text files (*.txt)"
        lightFileNames, f = QtGui.QFileDialog.getOpenFileNames(self, title, self.var["path"], filter_mask)
        fileDataLists, ok = ImportLCPlates.run(lightFileNames, self.robots)
        if ok:
            lc = LCTable.fromFDL(fileDataLists, self.robots)
            self.tabs.importLC(lc)
Пример #2
0
    def reinsertNUPlates(self):
        """Inserts results for rerun Negatives and Unknowns using the
		generated cherrypicking .xls file and the LC .txt plate files."""
        title = "Choose cherrypicking file..."
        cpFile, f = QtGui.QFileDialog.getOpenFileName(self, title, self.var["path"])
        title = "Choose lightcycler files..."
        filter_mask = "Lightcycler text files (*.txt)"
        lightFileNames, f = QtGui.QFileDialog.getOpenFileNames(self, title, self.var["path"], filter_mask)
        fileDataLists, ok = ImportLCPlates.run(lightFileNames, self.robots)
        if ok:
            lc = LCTable.fromFDLCPFile(fileDataLists, self.robots, cpFile)
            self.tabs.importLC(lc)