Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iPPIDB
ippidb-web
Commits
85682c86
Commit
85682c86
authored
Nov 18, 2020
by
Hervé MENAGER
Browse files
fix computation of PK/cytotox tests availability
parent
8eb15613
Pipeline
#41759
passed with stages
in 18 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ippisite/ippidb/models.py
View file @
85682c86
...
...
@@ -1936,9 +1936,9 @@ def update_compound_cached_properties(compounds_queryset=None):
)
.
values
(
"_bindtest_av"
)[:
1
]
),
pktest_av
=
Exists
(
CompoundPKResult
.
objects
.
filter
(
id
=
OuterRef
(
"id"
))),
pktest_av
=
Exists
(
CompoundPKResult
.
objects
.
filter
(
compound__
id
=
OuterRef
(
"id"
))),
cytoxtest_av
=
Exists
(
CompoundCytotoxicityResult
.
objects
.
filter
(
id
=
OuterRef
(
"id"
))
CompoundCytotoxicityResult
.
objects
.
filter
(
compound__
id
=
OuterRef
(
"id"
))
),
insilico_av
=
Subquery
(
compounds_queryset
.
filter
(
id
=
OuterRef
(
"id"
))
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment