mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
added acceptable keys to help user
This commit is contained in:
parent
dff3ad48f1
commit
2aef8052e9
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ class _Config(MutableMapping):
|
|||
# Reset photon source data since it relies on chain file
|
||||
_DECAY_PHOTON_ENERGY.clear()
|
||||
else:
|
||||
raise KeyError(f'Unrecognized config key: {key}')
|
||||
raise KeyError(f'Unrecognized config key: {key}. Acceptable keys '
|
||||
'are "cross_sections", "mg_cross_sections" and '
|
||||
'"chain_file"')
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self._mapping)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue