Skip to content

Commit

Permalink
Merge pull request #1028 from payno/fix_typo_on_loggers
Browse files Browse the repository at this point in the history
fix minor typos on loggers
  • Loading branch information
vasole authored Aug 22, 2023
2 parents 62affad + 8b11bc7 commit 6cb13d3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PyMca5/PyMcaCore/StackBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def stackUpdated(self, positioners=None):
elif self.mcaIndex == 0:
mcaMax = numpy.nanmax(numpy.nanmax(self._stack.data, axis=-1), axis=-1)
else:
_logger.info("Unsupported index for max spectrum calculation")
logger.info("Unsupported index for max spectrum calculation")
else:
t0 = time.time()
shape = self._stack.data.shape
Expand Down
3 changes: 3 additions & 0 deletions PyMca5/PyMcaGui/pymca/QHDF5StackWizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
from PyMca5.PyMcaGui.io.hdf5 import QNexusWidget
from PyMca5.PyMcaCore import NexusDataSource
from PyMca5 import PyMcaDirs
import logging

_logger = logging.getLogger(__name__)


class IntroductionPage(qt.QWizardPage):
Expand Down
4 changes: 4 additions & 0 deletions PyMca5/PyMcaGui/pymca/ScanWindowInfoWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@

import numpy
from PyMca5.PyMcaGui import PyMcaQt as qt
import logging

_logger = logging.getLogger(__name__)

QTVERSION = qt.qVersion()

"""
Expand Down

0 comments on commit 6cb13d3

Please sign in to comment.