Skip to content

Commit

Permalink
fix: faults not added to features because using string not enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Jul 27, 2022
1 parent ec520fa commit faf71ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ def _add_faults(self, feature_builder, features=None):
for f in reversed(features):
if isinstance(f, str):
f = self.__getitem__(f)
if f.type == "fault":
if f.type == FeatureType.FAULT:
feature_builder.add_fault(f)
# if f.type == 'unconformity':
# break
Expand Down

0 comments on commit faf71ee

Please sign in to comment.