Skip to content

Commit

Permalink
undo the molecule_data
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavin2897 committed Nov 14, 2023
1 parent 00c61dd commit 6c224ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/rdkit_visuals/controllers/display_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def molecule_data(package_name):

# Check if the row already exists, if not then INSERT

cur.execute("SELECT mol_formula FROM molecules WHERE package_id = %s", (package_id,))
cur.execute("SELECT mol_formula FROM molecule_data WHERE package_id = %s", (package_id,))
molecule_formula = cur.fetchone()
# commit cursor
con.commit()
Expand Down

0 comments on commit 6c224ed

Please sign in to comment.