Fix error check to not include properties

This commit is contained in:
Jan Petykiewicz 2021-07-11 17:14:19 -07:00
parent f8a65968cb
commit 25fe2067cd

View File

@ -195,7 +195,7 @@ class OasisLayout:
pass pass
elif record_id in range(3, 13) or record_id in (28, 29): elif record_id in range(3, 13) or record_id in (28, 29):
file_state.within_cell = False file_state.within_cell = False
elif record_id in range(15, 29) or record_id in (32, 33): elif record_id in range(15, 28) or record_id in (32, 33):
if not file_state.within_cell: if not file_state.within_cell:
raise Exception('Geometry outside Cell') raise Exception('Geometry outside Cell')
elif record_id in (13, 14): elif record_id in (13, 14):