mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
remove unnecessary error checking
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
This commit is contained in:
parent
3880d1cec8
commit
e4c3323601
1 changed files with 1 additions and 3 deletions
|
|
@ -409,10 +409,8 @@ class Universe(UniverseBase):
|
|||
|
||||
if color_by == "cell":
|
||||
expected_key_type = openmc.Cell
|
||||
elif color_by == "material":
|
||||
expected_key_type = openmc.Material
|
||||
else:
|
||||
raise Exception("wtf?")
|
||||
expected_key_type = openmc.Material
|
||||
|
||||
patches = []
|
||||
for key, color in plot.colors.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue