Exemplo n.º 1
0
    def robotLoadPlates(self):
        """Generates Biomek FX readable .csv files containing cherrypicking
		mappings for setting up the current round of screening."""
        title = "Choose folder for output..."
        directory = QtGui.QFileDialog.getExistingDirectory(self, title, self.var["path"])
        samples = self.tabs.getSamplesForLoading()
        CherryTable.forRobot(samples, directory)
Exemplo n.º 2
0
 def cherryPickNURobot(self):
     """Cherrypicks the Negatives and Unknowns and creates robot files."""
     title = "Choose folder for output..."
     directory = QtGui.QFileDialog.getExistingDirectory(self, title, self.var["path"])
     controls, ok = SetControls.run(4)
     if ok:
         samples = self.tabs.getNegativeUnknowns(controls)
         CherryTable.forRobot(samples, directory)
Exemplo n.º 3
0
    def handLoadPlates(self):
        """Generates Excel sheets containing cherrypicking mappings for
		setting up the current round of screening."""
        title = "Hand cherrypick file..."
        fileName, f = QtGui.QFileDialog.getSaveFileName(self, title)
        fileName = fileName.split(".")[0] + ".xls"
        samples = self.tabs.getSamplesForLoading()
        CherryTable.forHand(samples, fileName)
Exemplo n.º 4
0
 def cherryPickNUHand(self):
     """Cherrypicks the Negatives and Unknowns and creates hand files."""
     title = "Hand cherrypick N/U file..."
     fileName, f = QtGui.QFileDialog.getSaveFileName(self, title)
     fileName = fileName.split(".")[0] + ".xls"
     controls, ok = SetControls.run(4)
     if ok:
         samples = self.tabs.getNegativesUnknowns()
         CherryTable.forHand(samples, fileName)
Exemplo n.º 5
0
    def cherryPickNUCRobot(self):
        """Cherrypicks the Negatives, Unknowns, and contaminants, and creates
		robot loading files."""
        title = "Choose folder for output..."
        directory = QtGui.QFileDialog.getExistingDirectory(self, title, self.var["path"])
        contaminants = self.tabs.getPotentialContaminants()
        contaminants, ok = ChooseContaminants.run(contaminants)
        if ok:
            controls, ok = SetControls.run(4)
            if ok:
                samples = self.tabs.getNegativeUnknownContaminants(controls, contaminants)
                CherryTable.forRobot(samples, directory)