mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
fix multi-line error message
This commit is contained in:
parent
50acd579cb
commit
ecc38a1ae4
1 changed files with 3 additions and 3 deletions
|
|
@ -316,9 +316,9 @@ class FluxSpectraDepletionOperator(TransportOperator):
|
|||
try:
|
||||
assert data.shape == (len(nuclides), len(reactions))
|
||||
except AssertionError:
|
||||
raise SyntaxError('Nuclides list of length {len(nuclides)} and
|
||||
reactions array of length {len(reactions)} do not
|
||||
match dimensions of data array of shape {data.shape}')
|
||||
raise SyntaxError('Nuclides list of length {len(nuclides)} and'
|
||||
'reactions array of length {len(reactions)} do not'
|
||||
'match dimensions of data array of shape {data.shape}')
|
||||
|
||||
check_iterable_type('nuclides', nuclides, str)
|
||||
check_iterable_type('reactions', reactions, str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue