We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a37ae0 commit dc726d8Copy full SHA for dc726d8
1 file changed
loopstructural/gui/map2loop_tools/basal_contacts_widget.py
@@ -5,7 +5,6 @@
5
from PyQt5.QtWidgets import QMessageBox, QWidget
6
from qgis.PyQt import uic
7
8
-
9
from ...main.helpers import ColumnMatcher, get_layer_names
10
from ...main.m2l_api import extract_basal_contacts
11
from ...main.vectorLayerWrapper import addGeoDataFrameToproject
@@ -135,7 +134,7 @@ def _run_extractor(self):
135
134
# Check if user wants all contacts or just basal contacts
136
all_contacts = self.allContactsCheckBox.isChecked()
137
if all_contacts:
138
- stratigraphic_order = list(set([g[unit_name_field] for g in geology.getFeatures()]))
+ stratigraphic_order = list({g[unit_name_field] for g in geology.getFeatures()})
139
result = extract_basal_contacts(
140
geology=geology,
141
stratigraphic_order=stratigraphic_order,
0 commit comments