From cb84afb9777fdb35d0e4139ddbb9dcb600814653 Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Wed, 5 Feb 2020 15:03:39 +0100 Subject: [PATCH] dock peptide adv --- django_simple/todo/forms.py | 2 ++ django_simple/todo/views.py | 1 + 2 files changed, 3 insertions(+) diff --git a/django_simple/todo/forms.py b/django_simple/todo/forms.py index f1f1ea7..3000f80 100644 --- a/django_simple/todo/forms.py +++ b/django_simple/todo/forms.py @@ -577,6 +577,8 @@ class TaskForm_dock_a(forms.Form): help_text='total number of steps', max_value=10000000) md_seed = forms.IntegerField(label='SEED',initial=-39912345, help_text='seed for random number generator') + dock_peptide = forms.BooleanField(required=False,initial=False, + label='dock peptide',help_text='no constrains on 2nd chain') unres_ff = forms.ChoiceField(choices=FF_CHOICE,widget=forms.RadioSelect, diff --git a/django_simple/todo/views.py b/django_simple/todo/views.py index aea28ec..29f72a0 100644 --- a/django_simple/todo/views.py +++ b/django_simple/todo/views.py @@ -828,6 +828,7 @@ def add_dock_a(request,task_id): task.md_pdbref=True task.md_respa=False task.ssbond="" + task.dock_peptide=form.cleaned_data["dock_peptide"] task.md_seq="" -- 1.7.9.5