Пример #1
0
    def importLCExperiments(self):
        """Imports Lightcycler generated .txt TSV files containing HRM
		results for the round of screening on the active tab. Each file
		should contain one experiment."""
        title = "Import LC experiment file(s)..."
        filter_mask = "Lightcycler text files (*.txt)"
        lightFileNames, f = QtGui.QFileDialog.getOpenFileNames(self, title, self.var["path"], filter_mask)
        fileDataLists, ok = ImportLCExperiments.run(lightFileNames, self.robots.getRobotList())
        if ok:
            lc = LCTable.fromEDL(fileDataLists, self.robots)
            self.tabs.importLC(lc)
Пример #2
0
    def reinsertNUExperiments(self):
        """Inserts results for rerun Negatives and Unknowns using the
		generated cherrypicking .xls file and the LC .txt experiment 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 = ImportLCExperiments.run(lightFileNames, self.robots.getRobotList())
        if ok:
            lc = LCTable.fromEDLCPFile(fileDataLists, self.robots, cpFile)
            self.tabs.importLC(lc)