tutorial update, d-amino correction
[django_unres.git] / django_simple / todo / views.py
index 118de52..45741f2 100644 (file)
@@ -316,6 +316,7 @@ def add_md(request,task_id):
 
              if any(c.islower() for c in seq):
               task.md_respa=False
+              task.damino=True
 
              task.ready=True
              
@@ -387,6 +388,7 @@ def add_md_a(request,task_id):
              task.md_respa=form.cleaned_data["md_respa"]             
              if any(c.islower() for c in seq):
               task.md_respa=False
+              task.damino=True
              task.boxx=form.cleaned_data["boxx"]
              task.boxy=form.cleaned_data["boxy"]             
              task.boxz=form.cleaned_data["boxz"]             
@@ -450,6 +452,7 @@ def add_remd(request,task_id):
 
              if any(c.islower() for c in seq):
               task.md_respa=False
+              task.damino=True
 
 
              task.ready=True
@@ -675,6 +678,7 @@ def add_remd_a(request,task_id):
              task.md_respa=form.cleaned_data["md_respa"]
              if any(c.islower() for c in seq):
               task.md_respa=False
+              task.damino=True
              
 #             task.remd_traj1file=form.cleaned_data["remd_traj1file"]
 #             task.remd_rest1file=form.cleaned_data["remd_rest1file"]