Skip to content
Snippets Groups Projects
Commit a1e31bcc authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

import various data flags for in bibliography table

Former-commit-id: ee966162bde5f66397539c18313e773f3bff2185
parent e42b1833
No related branches found
No related tags found
No related merge requests found
......@@ -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']:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment