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
85682c86
Commit
85682c86
authored
4 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
fix computation of PK/cytotox tests availability
parent
8eb15613
No related branches found
No related tags found
1 merge request
!20
Prepare for v1.0.3
Pipeline
#41759
passed with stages
Stage:
Stage:
in 18 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/models.py
+2
-2
2 additions, 2 deletions
ippisite/ippidb/models.py
with
2 additions
and
2 deletions
ippisite/ippidb/models.py
+
2
−
2
View file @
85682c86
...
@@ -1936,9 +1936,9 @@ def update_compound_cached_properties(compounds_queryset=None):
...
@@ -1936,9 +1936,9 @@ def update_compound_cached_properties(compounds_queryset=None):
)
)
.
values
(
"
_bindtest_av
"
)[:
1
]
.
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
(
cytoxtest_av
=
Exists
(
CompoundCytotoxicityResult
.
objects
.
filter
(
id
=
OuterRef
(
"
id
"
))
CompoundCytotoxicityResult
.
objects
.
filter
(
compound__
id
=
OuterRef
(
"
id
"
))
),
),
insilico_av
=
Subquery
(
insilico_av
=
Subquery
(
compounds_queryset
.
filter
(
id
=
OuterRef
(
"
id
"
))
compounds_queryset
.
filter
(
id
=
OuterRef
(
"
id
"
))
...
...
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