Skip to content

Commit

Permalink
fix: return no strat ids when strat column not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Jun 6, 2024
1 parent 83f5e86 commit e77d58c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,9 @@ def stratigraphic_ids(self):
list of unique stratigraphic ids, featurename, unit name and min and max scalar values
"""
ids = []
if self.stratigraphic_column is None:
logger.warning('No stratigraphic column defined')
return ids
for group in self.stratigraphic_column.keys():
if group == "faults":
continue
Expand Down

0 comments on commit e77d58c

Please sign in to comment.