func initRequest(rq *liquidhandling.LHRequest, id execute.ThreadID) *liquidhandling.LHRequest { rq.BlockID = string(id) rq.Input_Setup_Weights = plateInitWeights(id) rq.Policies = initLHPolicies() initDriverConfig(rq, id) return rq }
func initDriverConfig(rq *liquidhandling.LHRequest, id execute.ThreadID) { ctx := GetContext() cfg := ctx.ConfigService.GetConfig(id) rq.Robotfn = cfg["SQLITE_FILE_IN"].(string) rq.Outputfn = cfg["SQLITE_FILE_OUT"].(string) }