Exemple #1
0
 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) 
Exemple #2
0
    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)
Exemple #3
0
    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)
Exemple #4
0
    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)
Exemple #5
0
 def removeDropImages(self):
     from .utils.plate_utils import removeDropImages as func
     return func(self)
Exemple #6
0
 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)
Exemple #7
0
 def updateCompounds(self, compounds, compound_dict={}):
     """
     """
     from .utils.plate_utils import updateCompounds as func
     return func(self, compounds, compound_dict)
Exemple #8
0
 def createPlateWells(self):
     """
     """
     from .utils.plate_utils import createPlateWells as func
     return func(self)
Exemple #9
0
 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) 
Exemple #10
0
 def createPlatesSoaksFromInitDataJSON(self):
     from .utils.experiment_utils import createPlatesSoaksFromInitDataJSON as func
     return func(self)
Exemple #11
0
 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)
Exemple #12
0
 def makeDestPlates(self, num_plates):
     from .utils.experiment_utils import makeDestPlates as func
     return func(self, num_plates)
Exemple #13
0
 def priorityInterleaveSrcWellsToSoaks(self, src_wells=[], soaks=[]):
     from .utils.experiment_utils import priorityInterleaveSrcWellsToSoaks as func
     return func(self, src_wells, soaks)
Exemple #14
0
 def setSoaksDatasetToDefault(self):
     from .utils.experiment_utils import setSoaksDatasetToDefault as func
     return func(self)