new force field option
[django_unres.git] / django_simple / todo / views.py
index 2d888e2..6f3a75e 100644 (file)
@@ -125,6 +125,7 @@ def add_min_a(request,task_id):
              task.min_pdbout=form.cleaned_data["min_pdbout"]
              task.myfile1=form.cleaned_data["file1"]
              task.min_unres_pdb=form.cleaned_data["min_unres_pdb"]
+             task.unres_ff=form.cleaned_data["unres_ff"]
 
              seq,task.ssbond=from_pdb(task.myfile1)
              task.md_seq=""
@@ -222,7 +223,7 @@ def add_md_a(request,task_id):
              task.md_tau=form.cleaned_data["md_tau"]
              task.md_scal_fric=form.cleaned_data["md_scal_fric"]
              task.md_mdpdb=form.cleaned_data["md_mdpdb"]
-
+             task.unres_ff=form.cleaned_data["unres_ff"]
              
              task.ready=True
              basename = str(task.owner)
@@ -316,6 +317,7 @@ def add_remd_a(request,task_id):
 #             task.remd_rest1file=form.cleaned_data["remd_rest1file"]
 
              task.remd_cluter_temp=form.cleaned_data["remd_cluter_temp"]
+             task.unres_ff=form.cleaned_data["unres_ff"]
              
              basename = str(task.owner)
              suffix = datetime.datetime.now().strftime("%y%m%d_%H%M%S")