From f311547a0cb6834a4456e36ec04210a9cf955a4f Mon Sep 17 00:00:00 2001 From: Nicolas Karasiak Date: Wed, 21 Dec 2016 17:19:40 +0100 Subject: [PATCH] Update dzetsaka.py --- dzetsaka.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dzetsaka.py b/dzetsaka.py index 48fa750..2198296 100644 --- a/dzetsaka.py +++ b/dzetsaka.py @@ -1000,13 +1000,12 @@ def runMagic(self): # Confidence map - if self.dockwidget.checkInConfidence.isChecked(): + if self.dockwidget.checkInConfidence.isChecked() and self.enableConfidence: confidenceMap = self.dockwidget.outConfidenceMap.text() - elif self.enableConfidence: - confidenceMap = None else : confidenceMap = None - + QgsMessageLog.logMessage('confidenceMap to None') + QgsMessageLog.logMessage(confidenceMap) inMask=self.dockwidget.inMask.text()