Fix reading CELL records with id 14
This commit is contained in:
parent
65e03d67d6
commit
daf301dfce
@ -179,7 +179,7 @@ class OasisLayout:
|
|||||||
elif record_id in range(15, 29) or record_id in (32, 33):
|
elif record_id in range(15, 29) 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 == 13:
|
elif record_id in (13, 14):
|
||||||
file_state.within_cell = True
|
file_state.within_cell = True
|
||||||
else:
|
else:
|
||||||
raise InvalidRecordError('Unknown record id: {}'.format(record_id))
|
raise InvalidRecordError('Unknown record id: {}'.format(record_id))
|
||||||
|
Loading…
Reference in New Issue
Block a user