def go(request): try: o = Oligo(data = request.POST) except Exception as e: print e return HttpResponse( json.dumps({ 'TmT':o.topTm(), 'TmB':o.bottomTm(), 'TmF':o.fullTm(), 'SeqT':o.topPrimer(), 'SeqB':o.bottomPrimer() }),mimetype="application/json")
def go(request): try: o = Oligo(data=request.POST) except Exception as e: print e return HttpResponse(json.dumps({ 'TmT': o.topTm(), 'TmB': o.bottomTm(), 'TmF': o.fullTm(), 'SeqT': o.topPrimer(), 'SeqB': o.bottomPrimer() }), mimetype="application/json")