mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixed typo in error checking in MGXS Library domains setter per comment by @nelsonag
This commit is contained in:
parent
cfe1f1dfcd
commit
9e4cd5ae2b
1 changed files with 2 additions and 1 deletions
|
|
@ -255,7 +255,8 @@ class Library(object):
|
|||
# Check that each domain can be found in the geometry
|
||||
for domain in domains:
|
||||
if domain not in all_domains:
|
||||
msg = 'Domain "{}" could not be found in the geometry'
|
||||
msg = 'Domain "{}" could not be found in the ' \
|
||||
'geometry.'.format(domain)
|
||||
raise ValueError(msg)
|
||||
|
||||
self._domains = domains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue