From: Cezary Czaplewski Date: Wed, 5 Feb 2020 14:03:39 +0000 (+0100) Subject: dock peptide adv X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=cb84afb9777fdb35d0e4139ddbb9dcb600814653;p=django_unres.git dock peptide adv --- 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=""