def processPicklist(self): """ Process uploaded picklist file and updates soaks accordingly """ from .utils.experiment_utils import processPicklist as func if getattr(self, 'picklist'): return func(self, self.picklist.local_upload.file)
def createSrcPlatesFromLibFile(self, numPlates, file): """ Creates source plates from CSV file (https://docs.google.com/spreadsheets/d/1FRBm6wVNSpwg4d3zGCYKLQkEZjf4BP9JL0YkEJzSojw/edit?usp=sharing) Then update wells with the appropriate compounds specified from csv file Parameters: numPlates (int): number of empty plates to make file (uploaded file): CSV file to update wells with appropriate compounds (see example file above) """ from .utils.experiment_utils import createSrcPlatesFromLibFile as func return func(self, numPlates, file)
def matchSrcWellsToSoaks(self, src_wells=[], soaks=[]): """ Match soaks to source wells by looping through one-by-one Parameters: src_wells (list): List of an experiment's source wells with compounds soaks (list): List of an experiment's used soaks Returns: None """ from .utils.experiment_utils import matchSrcWellsToSoaks as func return func(self, src_wells, soaks)
def interleaveSrcWellsToSoaks(self, src_wells=[], soaks=[]): """ Match soaks to source wells interleaved by plate id Parameters: src_wells (list): List of an experiment's source wells with compounds soaks (list): List of an experiment's used soaks Returns: None """ from .utils.experiment_utils import interleaveSrcWellsToSoaks as func return func(self, src_wells, soaks)
def removeDropImages(self): from .utils.plate_utils import removeDropImages as func return func(self)
def copyCompoundsFromOtherPlate(self, plate): """ Takes other plate (isTemplate must be True) and copy its compounds in the appropriate well locations """ from .utils.plate_utils import copyCompoundsFromOtherPlate as func return func(self, plate)
def updateCompounds(self, compounds, compound_dict={}): """ """ from .utils.plate_utils import updateCompounds as func return func(self, compounds, compound_dict)
def createPlateWells(self): """ """ from .utils.plate_utils import createPlateWells as func return func(self)
def getModalFormData(cls): """ Class method to return data needed for modal form to edit and make new instance of model """ from my_utils.views_helper import build_modal_form_data as func return func(cls)
def createPlatesSoaksFromInitDataJSON(self): from .utils.experiment_utils import createPlatesSoaksFromInitDataJSON as func return func(self)
def makePlates(self, num_plates, plate_type, plates_init_data=None): from .utils.experiment_utils import makePlates as func return func(self, num_plates, plate_type, plates_init_data=None)
def makeDestPlates(self, num_plates): from .utils.experiment_utils import makeDestPlates as func return func(self, num_plates)
def priorityInterleaveSrcWellsToSoaks(self, src_wells=[], soaks=[]): from .utils.experiment_utils import priorityInterleaveSrcWellsToSoaks as func return func(self, src_wells, soaks)
def setSoaksDatasetToDefault(self): from .utils.experiment_utils import setSoaksDatasetToDefault as func return func(self)