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

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
996a2c5897e7d16bd61e296b0099825e1e96e664
\ No newline at end of file
521ff1feba549fd94abfbcedbfea449190f6f3b2
\ No newline at end of file
......@@ -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']:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment