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

keep previous IDs for compounds (close #51)

Former-commit-id: dc7d75f5db848b8eab3228c01c4fe51c0a5e986c
parent 37cab5b5
No related branches found
No related tags found
No related merge requests found
6def815c597d9d9c8c7e97e6b7e8fd71da7d64ac b3413ac6f067ab89b2dad63c444b3021ffeef640
\ No newline at end of file \ No newline at end of file
...@@ -560,6 +560,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy, ...@@ -560,6 +560,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy,
for row in rows: for row in rows:
try: try:
compound = Compound() compound = Compound()
compound.id = row[0]
compound.canonical_smile = row[1] compound.canonical_smile = row[1]
compound.is_macrocycle = (row[4] == 'Y') compound.is_macrocycle = (row[4] == 'Y')
compound.aromatic_ratio = row[5] compound.aromatic_ratio = row[5]
......
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