X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Fforms.py;h=5eb67fb088e649d2f82efeeb71dcc1f3b012c661;hb=18720bfd2db199afb2ebf034b3206fc07f16c1ad;hp=0a8f597a78e5e81c6dad42a61058afd8eeb1216c;hpb=49226cc4e01dd935d1fd063e5215a668ac07f7e5;p=django_unres.git diff --git a/django_simple/todo/forms.py b/django_simple/todo/forms.py index 0a8f597..5eb67fb 100644 --- a/django_simple/todo/forms.py +++ b/django_simple/todo/forms.py @@ -411,6 +411,16 @@ class TaskForm_remd_a(forms.Form): help_text='box z dimension') + wsaxs = forms.FloatField(label='SAXS weight',initial=100.0, + help_text='weight for SAXS restraint term') + scal_rad = forms.FloatField(label='Scal_rad (SAXS)',initial=1.0, + help_text='downscaling factor of residue radii used in SAXS restraints') + saxs_data = forms.CharField(label='P(r) SAXS data', + help_text='distance distribution from SAXS, two columns: r and P(r)', + required=False, + widget=forms.Textarea(attrs={'cols': 25, 'rows': 20})) + + def clean(self): cleaned_data = super(TaskForm_remd_a, self).clean()