示例#1
0
def OptimadeStructuresInfoData(request):
    data = oqop.get_optimade_data("info.structures")
    return render_to_response("api/plain_text.html", {"data": data})
示例#2
0
def OptimadeStructuresInfoData(request):
    data = oqop.get_optimade_data("info.structures")
    return HttpResponse(data, content_type="application/json")
示例#3
0
def OptimadeLinksData(request):
    data = oqop.get_optimade_data("links")
    return render_to_response("api/plain_text.html", {"data": data})
示例#4
0
def OptimadeLinksData(request):
    data = oqop.get_optimade_data("links")
    return HttpResponse(data, content_type="application/json")