mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Updating check for cad geometry in summary read.
This commit is contained in:
parent
ea0b6f2948
commit
a4fdbe5048
1 changed files with 3 additions and 3 deletions
|
|
@ -97,10 +97,10 @@ class Summary(object):
|
|||
self._macroscopics = name.decode()
|
||||
|
||||
def _read_geometry(self):
|
||||
try:
|
||||
self._f['geometry'].attrs.get("cad")
|
||||
|
||||
if "cad" in self._f['geometry'].attrs.keys():
|
||||
return
|
||||
except:
|
||||
else:
|
||||
# Read in and initialize the Materials and Geometry
|
||||
self._read_materials()
|
||||
self._read_surfaces()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue