Skip to content

Commit

Permalink
Merge pull request #576 from vasole/vasole-patch-1
Browse files Browse the repository at this point in the history
[PyMcaBatch] No warnings on choices
  • Loading branch information
vasole authored Aug 22, 2019
2 parents e238a72 + 20fef49 commit 4aeaeeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyMca5/PyMcaIO/OutputBuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)')
Expand Down

0 comments on commit 4aeaeeb

Please sign in to comment.