Skip to content

Commit

Permalink
minor grammar tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science authored Jan 2, 2025
1 parent ab865b8 commit 40e8e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armi/physics/neutronics/crossSectionGroupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def getXSTypeLabelFromNumber(xsTypeNumber: int) -> str:
return chr(int(str(xsTypeNumber)[:2])) + chr(int(str(xsTypeNumber)[2:]))
elif xsTypeNumber < ord("A"):
raise ValueError(
f"Cannot convert invalid xsTypeNumber `{xsTypeNumber}` to char "
"The number must be >= 65 (corresponding to 'A')"
f"Cannot convert invalid xsTypeNumber `{xsTypeNumber}` to char. "
"The number must be >= 65 (corresponding to 'A')."
)
else:
return chr(xsTypeNumber)
Expand Down

0 comments on commit 40e8e47

Please sign in to comment.