Skip to content

Commit

Permalink
fix: missing argument from test + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Nov 23, 2021
1 parent ac864d8 commit dee158a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LoopStructural/modelling/input/project_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self,projectfile,use_thickness=None):
super().__init__(
contacts=contacts,
contact_orientations=orientations,
stratigraphic_order=[('sg',list(project.stratigraphicLog.name))],#needs to be updated,
stratigraphic_order=[('sg',list(self.stratigraphicLog.name))],#needs to be updated,
thicknesses=thicknesses,
fault_orientations=fault_orientations,
fault_locations=fault_locations,
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/modelling/test_faults_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ def test_create_and_add_fault():
[.5,.5,.5,0,0,1,2,'fault',0],],
columns=['X','Y','Z','nx','ny','nz','coord','feature_name','val'])
model.data = data
model.create_and_add_fault('fault',1,nelements=1e4)
model.create_and_add_fault('fault',1,nelements=1e4,force_mesh_geometry=True)
assert isinstance(model['fault'],FaultSegment)

0 comments on commit dee158a

Please sign in to comment.