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
c7e0ad5b
Commit
c7e0ad5b
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
minor comments and style improvements
Former-commit-id: a3a34d0f32125c4da18744b97da796a16d8e056f
parent
d82ea146
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/models.py
+2
-1
2 additions, 1 deletion
ippisite/ippidb/models.py
with
2 additions
and
1 deletion
ippisite/ippidb/models.py
+
2
−
1
View file @
c7e0ad5b
...
@@ -168,6 +168,7 @@ class ProteinDomainComplex(models.Model):
...
@@ -168,6 +168,7 @@ class ProteinDomainComplex(models.Model):
def
name
(
self
):
def
name
(
self
):
return
self
.
protein
.
short_name
return
self
.
protein
.
short_name
class
ProteinDomainBoundComplex
(
ProteinDomainComplex
):
class
ProteinDomainBoundComplex
(
ProteinDomainComplex
):
ppp_copy_nb_per_p
=
models
.
IntegerField
(
ppp_copy_nb_per_p
=
models
.
IntegerField
(
'
Number of copies of the protein in the pocket
'
)
'
Number of copies of the protein in the pocket
'
)
...
@@ -442,7 +443,7 @@ class Compound(models.Model):
...
@@ -442,7 +443,7 @@ class Compound(models.Model):
@property
@property
def
best_pXC50_activity_ppi_name
(
self
):
def
best_pXC50_activity_ppi_name
(
self
):
"""
"""
LE: Ligand Efficienc
y
Name of the PPI corresponding to the best PXC50 activit
y
"""
"""
best_activity_car
=
self
.
best_pXC50_compound_activity_result
best_activity_car
=
self
.
best_pXC50_compound_activity_result
if
best_activity_car
is
None
:
if
best_activity_car
is
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