Skip to content

Commit 49a24d2

Browse files
committed
style: linting issues
1 parent 6f84745 commit 49a24d2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

LoopStructural/modelling/features/fold/_foldframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def calculate_fold_limb_rotation(self, feature_builder, axis=None):
162162
r2 = np.einsum("ij,ij->i", projected_s1, projected_s0) #
163163
# adjust the fold rotation angle so that its always between -90
164164
# and 90
165-
vv = np.cross(s1g, s0g, axisa=1, axisb=1)
166-
ds = np.einsum("ij,ij->i", fold_axis, vv)
165+
# vv = np.cross(s1g, s0g, axisa=1, axisb=1)
166+
# ds = np.einsum("ij,ij->i", fold_axis, vv)
167167
flr = np.rad2deg(np.arcsin(r2)) # np.where(ds > 0, np.rad2deg(np.arcsin(r2)),
168168
# (- )))
169169
# flr[ds < 0] *= -1

examples/2_fold/plot_2__refolded_folds.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
from LoopStructural import GeologicalModel
9-
from LoopStructural.modelling.features import fold
109
from LoopStructural.visualisation import Loop3DView, RotationAnglePlotter
1110
from LoopStructural.datasets import load_laurent2016
1211
import pandas as pd

tests/unit/modelling/test__fault_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_fault_builder_create_data_from_geometry_with_normals(interpolatortype):
6363
# Check if the fault attributes are updated correctly
6464
expected_fault_normal_vector = np.array([0, 1.0, 0])
6565
expected_fault_slip_vector = np.array([0.0, 0.0, 1.0])
66-
expected_fault_centre = np.array([0.15, 0.6, 1.05])
66+
# expected_fault_centre = np.array([0.15, 0.6, 1.05])
6767
expected_fault_normal_vector /= np.linalg.norm(expected_fault_normal_vector)
6868
expected_fault_slip_vector /= np.linalg.norm(expected_fault_slip_vector)
6969
# expected_fault_minor_axis = 0.5

0 commit comments

Comments
 (0)