Skip to content

Commit

Permalink
fix units saving when another row is added
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkern11 committed Apr 10, 2023
1 parent 5ec6d67 commit 0b7a80f
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 316 deletions.
2 changes: 1 addition & 1 deletion mersearch/vendors/vwr.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def extract_mol_data(
elif len(td) == 5:
try:
row["amount"] = td[2].text.strip()
row["unit"] = td[3].text.strip()
row["units"] = td[3].text.strip()
row["price"] = td[4].text.strip()
price_data.append(row.copy())
except Exception as e:
Expand Down
Loading

0 comments on commit 0b7a80f

Please sign in to comment.