From 20fef499805459bf6ab0920fd8ee0c6db3bde929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Thu, 22 Aug 2019 10:14:04 +0200 Subject: [PATCH] [PyMcaBatch] No warnings on choices Set the logging level to info instead of warning on choices. --- PyMca5/PyMcaIO/OutputBuffer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PyMca5/PyMcaIO/OutputBuffer.py b/PyMca5/PyMcaIO/OutputBuffer.py index 48ecc34c9..d019a818a 100644 --- a/PyMca5/PyMcaIO/OutputBuffer.py +++ b/PyMca5/PyMcaIO/OutputBuffer.py @@ -327,9 +327,9 @@ def allocateMemory(self, label, group=None, memtype='ram', **kwargs): if self.nosave: _logger.info('Allocate in memory instead of Hdf5 (saving is disabled)') elif not self.h5: - _logger.warning('Allocate in memory instead of Hdf5 (h5 format is disabled)') + _logger.info('Allocate in memory instead of Hdf5 (h5 format is disabled)') elif NexusUtils.h5py is None: - _logger.warning('Allocate in memory instead of Hdf5 (h5py not installed)') + _logger.info('Allocate in memory instead of Hdf5 (h5py not installed)') elif not self.outputDir: _logger.warning('Allocate in memory instead of Hdf5 (no output directory specified)') else: @@ -731,7 +731,7 @@ def save(self): """ _logger.debug('Saving {}'.format(self)) if self.nosave: - _logger.warning('Fit results are not saved (saving is disabled)') + _logger.info('Fit results are not saved (saving is disabled)') return elif not (self.tif or self.edf or self.csv or self.dat or self.h5): _logger.warning('Fit results are not saved (all output formats disabled)')