X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Fviews.py;h=28a060308bdccce5c6911a73b6f0a7998087a674;hb=2c4b03af8bd8f39f4a501fb0beeecf80d1946f63;hp=d02f588754879c3308719a9000cc29d1990dbbec;hpb=0e76b9e206d73ead2b1dfe7b894e580225f210b3;p=django_unres.git diff --git a/django_simple/todo/views.py b/django_simple/todo/views.py index d02f588..28a0603 100644 --- a/django_simple/todo/views.py +++ b/django_simple/todo/views.py @@ -170,7 +170,7 @@ def add_min_a(request,task_id): task = get_object_or_404(Task, id=task_id) if request.method == 'POST': if '_example' in request.POST: - data= {'name':task.name,'pdbid':'1EI0'} + data= {'name':task.name,'pdbid':'1EI0','unres_ff':'opt-wtfsa-2'} form = TaskForm_min_a(initial=data) else: form = TaskForm_min_a(request.POST,request.FILES) @@ -228,7 +228,7 @@ def add_md(request,task_id): if request.method == 'POST': if '_example' in request.POST: data= {'name':task.name,'pdbid':'1IGD','md_start':'pdbstart', - 'md_pdbref':True,'md_temp':250} + 'md_pdbref':True,'md_temp':200} form = TaskForm_md(initial=data) else: form = TaskForm_md(request.POST,request.FILES) @@ -285,8 +285,8 @@ def add_md_a(request,task_id): task = get_object_or_404(Task, id=task_id) if request.method == 'POST': if '_example' in request.POST: - data= {'name':task.name,'pdbid':'1FSD','md_start':'extconf', - 'md_pdbref':True,'md_lang':'berendsen'} + data= {'name':task.name,'pdbid':'1L2Y','md_start':'extconf', + 'md_pdbref':True,'md_mdpdb':True} form = TaskForm_md_a(initial=data) else: form = TaskForm_md_a(request.POST,request.FILES) @@ -417,7 +417,8 @@ def add_remd_a(request,task_id): if request.method == 'POST': if '_example' in request.POST: data= {'name':task.name,'pdbid':'1E0G','md_pdbref':True, - 'md_nstep':500000,'md_lang':'berendsen','unres_ff':'opt-wtfsa-2'} + 'md_nstep':1000000,'md_lang':'berendsen','unres_ff':'opt-wtfsa-2', + 'remd_cluter_temp':270} form = TaskForm_remd_a(initial=data) else: form = TaskForm_remd_a(request.POST,request.FILES)