Skip to content

Commit e77d58c

Browse files
committed
fix: return no strat ids when strat column not defined
1 parent 83f5e86 commit e77d58c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

LoopStructural/modelling/core/geological_model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,6 +1759,9 @@ def stratigraphic_ids(self):
17591759
list of unique stratigraphic ids, featurename, unit name and min and max scalar values
17601760
"""
17611761
ids = []
1762+
if self.stratigraphic_column is None:
1763+
logger.warning('No stratigraphic column defined')
1764+
return ids
17621765
for group in self.stratigraphic_column.keys():
17631766
if group == "faults":
17641767
continue

0 commit comments

Comments
 (0)