File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
loopstructural/gui/map2loop_tools Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 55from PyQt5 .QtWidgets import QMessageBox , QWidget
66from qgis .PyQt import uic
77
8-
98from ...main .helpers import ColumnMatcher , get_layer_names
109from ...main .m2l_api import extract_basal_contacts
1110from ...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 ,
You can’t perform that action at this time.
0 commit comments