Skip to content

Commit faf71ee

Browse files
author
Lachlan Grose
committed
fix: faults not added to features because using string not enum
1 parent ec520fa commit faf71ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopStructural/modelling/core/geological_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ def _add_faults(self, feature_builder, features=None):
11841184
for f in reversed(features):
11851185
if isinstance(f, str):
11861186
f = self.__getitem__(f)
1187-
if f.type == "fault":
1187+
if f.type == FeatureType.FAULT:
11881188
feature_builder.add_fault(f)
11891189
# if f.type == 'unconformity':
11901190
# break

0 commit comments

Comments
 (0)