Skip to content

Commit

Permalink
Raise InvalidBlendSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
parkervg committed May 24, 2024
1 parent 5e9dfd7 commit bdd4c3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blendsql/blend.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import time
import uuid
import pandas as pd
import pyparsing
import re
from typing import (
Dict,
Expand Down Expand Up @@ -77,7 +76,7 @@ def get_from_name(self, name: str):
for f in self:
if f.name == name.upper():
return f
raise pyparsing.ParseException(
raise InvalidBlendSQL(
f"Ingredient '{name}' called, but not found in passed `ingredient` arg!"
)

Expand Down

0 comments on commit bdd4c3e

Please sign in to comment.