Skip to content

Commit

Permalink
removed error raising when calling warn (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Jan 20, 2024
1 parent 0785500 commit b97149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc/deplete/openmc_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _get_burnable_mats(self) -> Tuple[List[str], Dict[str, float], List[str]]:
msg = (f"Nuclilde {nuclide} in material {mat.id} is not "
"present in the depletion chain and has no cross "
"section data.")
raise warn(msg)
warn(msg)
if mat.depletable:
burnable_mats.add(str(mat.id))
if mat.volume is None:
Expand Down

0 comments on commit b97149d

Please sign in to comment.