Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
5bfdf52d
Commit
5bfdf52d
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
repair selection on bound complexes
Former-commit-id: 73176f49ec2aebc6c9a9540e48e0da37f40c7dd6
parent
4ec9210a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/views.py
+1
-1
1 addition, 1 deletion
ippisite/ippidb/views.py
with
1 addition
and
1 deletion
ippisite/ippidb/views.py
+
1
−
1
View file @
5bfdf52d
...
...
@@ -176,7 +176,7 @@ def compound_list(request):
compounds
=
compounds
.
filter
(
compoundaction__ppi__diseases__id__in
=
request
.
GET
.
getlist
(
'
disease
'
))
if
request
.
GET
.
get
(
'
taxonomy
'
):
compounds
=
compounds
.
filter
(
compoundaction__ppi_id__ppicomplex__complex__protein__organism__id__in
=
request
.
GET
.
getlist
(
'
taxonomy
'
))
if
request
.
GET
.
get
(
'
boundcomplex
es
'
):
if
request
.
GET
.
get
(
'
boundcomplex
'
):
compounds
=
compounds
.
filter
(
compoundaction__ppi_id__ppicomplex__complex__id__in
=
request
.
GET
.
getlist
(
'
boundcomplex
'
))
ppis_all
=
request
.
GET
.
get
(
'
ppis_all
'
,
None
)
diseases_all
=
request
.
GET
.
get
(
'
diseases_all
'
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment