Skip to content

Commit

Permalink
Removed debugging log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanbasten-ns committed Sep 21, 2023
1 parent 761358d commit 05ddfe2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion datasource/result_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,3 @@

# TODO: QH is also defined above.
LAYER_OBJECT_TYPE_MAPPING = dict([(a[0], a[1]) for a in layer_information])

3 changes: 0 additions & 3 deletions tool_graph/graph_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,6 @@ def add_objects(self, layer: QgsVectorLayer, features: List[QgsFeature]) -> bool

# Small usability tweak, if we are adding a pump flowline, set a specific parameter
if not existing_items and "pump" in layer.objectName() and new_items:
logger.error(self.parameters)
# Find the corresponding name for q_cum, set parameter (and set combobox)
pump_params = [p for p in self.parameters.values() if p["parameters"] == "q_pump"]
if pump_params:
Expand Down Expand Up @@ -1026,7 +1025,6 @@ def add_results(self, results, feature_type, single_feature_per_layer=False):
"""
Add results for features of specific types.
"""
logger.error(len(results))
if feature_type == FLOWLINE_OR_PUMP:
layer_keys = ['flowline', 'pump_linestring', 'pump']
graph_widget = self.q_graph_widget
Expand All @@ -1048,7 +1046,6 @@ def add_results(self, results, feature_type, single_feature_per_layer=False):
continue
if single_feature_per_layer and layer_id in layers_added:
continue
logger.error(f"Adding result {result.mFeature.id()}")
graph_widget.add_objects(result.mLayer, [result.mFeature])
layers_added.add(layer_id)

Expand Down
1 change: 0 additions & 1 deletion tool_statistics/threedi_custom_stats_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,6 @@ def enable_raster_folder_widget(self):
self.validate()

def preset_combobox_changed(self, index):
logger.error("preset_combobox_changed")
preset = self.comboBoxPreset.itemData(index)

# Check whether the currently selected model support the preset's aggregations
Expand Down

0 comments on commit 05ddfe2

Please sign in to comment.