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
a1e31bcc
Commit
a1e31bcc
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
import various data flags for in bibliography table
Former-commit-id: ee966162bde5f66397539c18313e773f3bff2185
parent
e42b1833
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+7
-0
7 additions, 0 deletions
ippisite/ippidb/management/commands/import_v1_data.py
with
7 additions
and
0 deletions
ippisite/ippidb/management/commands/import_v1_data.py
+
7
−
0
View file @
a1e31bcc
...
...
@@ -116,6 +116,13 @@ class Command(BaseCommand):
else
:
b
.
source
=
'
PT
'
b
.
id_source
=
row
[
2
]
b
.
cytotox
=
row
[
6
]
==
'
Y
'
b
.
in_silico
=
row
[
7
]
==
'
Y
'
b
.
in_vitro
=
row
[
8
]
==
'
Y
'
b
.
in_vivo
=
row
[
9
]
==
'
Y
'
b
.
in_cellulo
=
row
[
10
]
==
'
Y
'
b
.
pharmacokinetic
=
row
[
11
]
==
'
Y
'
b
.
xray
=
row
[
12
]
==
'
Y
'
b
.
save
(
autofill
=
True
)
except
Exception
as
e
:
if
options
[
'
stoponfail
'
]:
...
...
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