projects
/
django_unres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a90931
)
dock adv seq2 no pdbref correction
author
Cezary Czaplewski
<czarek@chem.univ.gda.pl>
Thu, 27 Feb 2020 13:23:40 +0000
(14:23 +0100)
committer
Cezary Czaplewski
<czarek@chem.univ.gda.pl>
Thu, 27 Feb 2020 13:23:40 +0000
(14:23 +0100)
django_simple/todo/views.py
patch
|
blob
|
history
diff --git
a/django_simple/todo/views.py
b/django_simple/todo/views.py
index
91edba6
..
5671118
100644
(file)
--- a/
django_simple/todo/views.py
+++ b/
django_simple/todo/views.py
@@
-870,7
+870,8
@@
def add_dock_a(request,task_id):
task.md_ntwx=task.remd_nstex
task.md_start="pdbstart"
- task.md_pdbref=True
+ if task.md_seq2 =='':
+ task.md_pdbref=True
task.md_respa=False
task.ssbond=""
task.dock_peptide=form.cleaned_data["dock_peptide"]