Skip to content

Commit

Permalink
Update language of a ndens warning (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntouran committed Dec 1, 2021
1 parent 8cc5bce commit 5062694
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions armi/reactor/blueprints/isotopicOptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,12 @@ def apply(self, material):
if self.density is not None:
if not isinstance(material, materials.Custom):
runLog.warning(
"You specified a custom mass density on `{}` with custom isotopics `{}`. "
"This has no effect; you can only set this on `Custom` "
"materials. Continuing to use {} mass density.".format(
"You either specified a custom mass density or number densities "
"(which implies a mass density) on `{}` with custom isotopics `{}`. "
"This has no effect on this Material class; you can only "
"override mass density on `Custom` "
"materials. Consider switching to number fraction input. "
"Continuing to use {} mass density.".format(
material, self.name, material
)
)
Expand Down

0 comments on commit 5062694

Please sign in to comment.