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
41cbb5bb
Commit
41cbb5bb
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
correct ppi families migration
Former-commit-id: f2803177850cdca919a790ccb274ce5d350ca10d
parent
4cebe0c4
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/management/commands/import_v1_data.py
+1
-0
1 addition, 0 deletions
ippisite/ippidb/management/commands/import_v1_data.py
with
1 addition
and
0 deletions
ippisite/ippidb/management/commands/import_v1_data.py
+
1
−
0
View file @
41cbb5bb
...
@@ -246,6 +246,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy,
...
@@ -246,6 +246,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy,
name
=
row
[
7
])
name
=
row
[
7
])
ppi_family
,
created
=
PpiFamily
.
objects
.
get_or_create
(
ppi_family
,
created
=
PpiFamily
.
objects
.
get_or_create
(
name
=
row
[
9
])
name
=
row
[
9
])
ppi
.
family
=
ppi_family
ppi
.
pdb_id
=
row
[
4
]
ppi
.
pdb_id
=
row
[
4
]
ppi
.
pockets_nb
=
1
ppi
.
pockets_nb
=
1
ppi
.
symmetry
=
Symmetry
.
objects
.
get
(
code
=
'
AS
'
)
ppi
.
symmetry
=
Symmetry
.
objects
.
get
(
code
=
'
AS
'
)
...
...
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