Skip to content

Commit bdeccb8

Browse files
committed
fix: linting
1 parent 64d5c00 commit bdeccb8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

loopstructural/gui/data_conversion/data_conversion_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
try:
3636
from pandas import DataFrame
37-
except ImportException: # pragma: no cover - pandas may be unavailable in tests
37+
except ImportError: # pragma: no cover - pandas may be unavailable in tests
3838
DataFrame = None
3939

4040

loopstructural/gui/map2loop_tools/user_defined_sorter_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Any
44

5-
from PyQt5.QtWidgets import QMessageBox, QVBoxLayout, QWidget
5+
from PyQt5.QtWidgets import QVBoxLayout, QWidget
66

77
from loopstructural.gui.modelling.stratigraphic_column import StratColumnWidget
88

loopstructural/main/m2l_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def calculate_thickness(
515515
if calculator_type == "InterpolatedStructure":
516516
calculator = InterpolatedStructure(
517517
bounding_box=bounding_box,
518-
# dtm_data=dtm_gdal,
518+
dtm_data=dtm_gdal,
519519
is_strike=orientation_type == 'Strike',
520520
max_line_length=max_line_length,
521521
)
@@ -524,7 +524,7 @@ def calculate_thickness(
524524
raise ValueError("max_line_length parameter is required for StructuralPoint calculator")
525525
calculator = StructuralPoint(
526526
bounding_box=bounding_box,
527-
# dtm_data=dtm_gdal,
527+
dtm_data=dtm_gdal,
528528
is_strike=orientation_type == 'Strike',
529529
max_line_length=max_line_length,
530530
)

0 commit comments

Comments
 (0)