Skip to content

Commit dc726d8

Browse files
committed
style: ruff check
1 parent 3a37ae0 commit dc726d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

loopstructural/gui/map2loop_tools/basal_contacts_widget.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from PyQt5.QtWidgets import QMessageBox, QWidget
66
from qgis.PyQt import uic
77

8-
98
from ...main.helpers import ColumnMatcher, get_layer_names
109
from ...main.m2l_api import extract_basal_contacts
1110
from ...main.vectorLayerWrapper import addGeoDataFrameToproject
@@ -135,7 +134,7 @@ def _run_extractor(self):
135134
# Check if user wants all contacts or just basal contacts
136135
all_contacts = self.allContactsCheckBox.isChecked()
137136
if all_contacts:
138-
stratigraphic_order = list(set([g[unit_name_field] for g in geology.getFeatures()]))
137+
stratigraphic_order = list({g[unit_name_field] for g in geology.getFeatures()})
139138
result = extract_basal_contacts(
140139
geology=geology,
141140
stratigraphic_order=stratigraphic_order,

0 commit comments

Comments
 (0)