Skip to content

Commit dee158a

Browse files
author
Lachlan Grose
committed
fix: missing argument from test + typo
1 parent ac864d8 commit dee158a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LoopStructural/modelling/input/project_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self,projectfile,use_thickness=None):
3737
super().__init__(
3838
contacts=contacts,
3939
contact_orientations=orientations,
40-
stratigraphic_order=[('sg',list(project.stratigraphicLog.name))],#needs to be updated,
40+
stratigraphic_order=[('sg',list(self.stratigraphicLog.name))],#needs to be updated,
4141
thicknesses=thicknesses,
4242
fault_orientations=fault_orientations,
4343
fault_locations=fault_locations,

tests/unit_tests/modelling/test_faults_segment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def test_create_and_add_fault():
88
[.5,.5,.5,0,0,1,2,'fault',0],],
99
columns=['X','Y','Z','nx','ny','nz','coord','feature_name','val'])
1010
model.data = data
11-
model.create_and_add_fault('fault',1,nelements=1e4)
11+
model.create_and_add_fault('fault',1,nelements=1e4,force_mesh_geometry=True)
1212
assert isinstance(model['fault'],FaultSegment)

0 commit comments

Comments
 (0)