Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
c4992035
Commit
c4992035
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
compound name in publication is not prefixed anymore with biblio ID
Former-commit-id: 0b97bbabb8660f34c41d68b6ed31402e89bc70bc
parent
3a1d6d70
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ippisite/db.sqlite3.REMOVED.git-id
+1
-1
1 addition, 1 deletion
ippisite/db.sqlite3.REMOVED.git-id
ippisite/ippidb/management/commands/import_v1_data.py
+1
-1
1 addition, 1 deletion
ippisite/ippidb/management/commands/import_v1_data.py
with
2 additions
and
2 deletions
ippisite/db.sqlite3.REMOVED.git-id
+
1
−
1
View file @
c4992035
996a2c5897e7d16bd61e296b0099825e1e96e664
\ No newline at end of file
521ff1feba549fd94abfbcedbfea449190f6f3b2
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ippisite/ippidb/management/commands/import_v1_data.py
+
1
−
1
View file @
c4992035
...
...
@@ -471,7 +471,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy,
r
=
RefCompoundBiblio
()
r
.
compound_id
=
c
.
id
r
.
bibliography_id
=
b
.
id
r
.
compound_name
=
row
[
0
]
r
.
compound_name
=
row
[
0
]
.
split
(
'
-
'
)[
1
]
#mysql format for this field is [PMID/WIPOID]-name: we remove the first part
r
.
save
()
except
Exception
as
e
:
if
options
[
'
stoponfail
'
]:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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