Skip to content

Commit

Permalink
raise error if component not registered
Browse files Browse the repository at this point in the history
  • Loading branch information
yereeem committed Jan 6, 2025
1 parent ce4290f commit 182c541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions property_packages/helmholtz/helmholtz_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def build_helmholtz_package(compound_list: List[str]):
phase_presentation=PhaseType.MIX,
state_vars=StateVars.PH,
amount_basis=AmountBasis.MOLE)


else:
raise ValueError(f"Compound {component} not found in Helmholtz registered components")

0 comments on commit 182c541

Please sign in to comment.