mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Cleaned up msg string formatting in openmc.mgxs
This commit is contained in:
parent
178fb2bff5
commit
582d988ff3
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ class MGXS(object):
|
|||
elif self.domain_type == 'material':
|
||||
self.domain = statepoint.summary.get_material_by_id(self.domain.id)
|
||||
else:
|
||||
msg = 'Unable to load data from a statepoint for domain type {} ' \
|
||||
msg = 'Unable to load data from a statepoint for domain type {0} ' \
|
||||
'which is not yet supported'.format(self.domain_type)
|
||||
raise ValueError(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue