Skip to content

Commit

Permalink
fix: faults not visible in model
Browse files Browse the repository at this point in the history
points flag was not being applied for fault builder.
kwarg value of None was overwriting default value of True.
  • Loading branch information
Lachlan Grose committed Dec 8, 2021
1 parent 78fa916 commit 32cbb2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ def create_and_add_fault(
minor_axis=minor_axis,
major_axis=major_axis,
intermediate_axis=intermediate_axis,
points=kwargs.get("points", None),
points=kwargs.get("points", True),
)

# if minor_axis == None or major_axis == None or intermediate_axis == None:
Expand Down
4 changes: 2 additions & 2 deletions LoopStructural/modelling/fault/fault_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ def create_data_from_geometry(
1,
w,
]

self.update_geometry(fault_depth)
# TODO need to add data here

slip_vector/=intermediate_axis
data.loc[
len(data),
[
Expand Down

0 comments on commit 32cbb2a

Please sign in to comment.