Skip to content

Commit

Permalink
hmdb schema: correct field names
Browse files Browse the repository at this point in the history
  • Loading branch information
for-hyde committed Oct 2, 2024
1 parent 158a04e commit d627d30
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions omnipath_metabo/schema/_main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from sqlalchemy import insert

from . import _structure
from ._base import Base
from ._connection import Connection
Expand Down Expand Up @@ -53,9 +55,9 @@ def load(self):

for row in self.resource:

insert_statement = self.scheme.insert().values(
smiles=row[1],
accession=row[0],
insert_statement = insert(self.scheme).values(
structure=row[1],
name=row[0],
#inchi=row['inchi']
)

Expand Down

0 comments on commit d627d30

Please sign in to comment.