From f7c4d8746898e727bf2ab15c70bdcfb01518b820 Mon Sep 17 00:00:00 2001 From: Caitlyn Wolf Date: Tue, 16 Jan 2024 16:08:27 -0500 Subject: [PATCH] added missing import statement for logging to enable error messages in a pop up window when slit width is set larger than slit length --- src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py b/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py index bba448f047..6e7985892f 100644 --- a/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py @@ -6,6 +6,8 @@ from PySide6 import QtCore from PySide6 import QtGui from PySide6 import QtWidgets +import logging +logger = logging.getLogger(__name__) from sas.sascalc.fit.qsmearing import smear_selection, PySmear, PySmear2D from sas.qtgui.Plotting.PlotterData import Data1D