Example #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)