Commit 854d277f authored by skamann's avatar skamann
Browse files

Fixed bug in logging.

parent 1b0e0796
...@@ -687,7 +687,7 @@ class FitLayer(object): ...@@ -687,7 +687,7 @@ class FitLayer(object):
[setattr(psf, parameter, value) for psf in self.psf_instances.values()] [setattr(psf, parameter, value) for psf in self.psf_instances.values()]
except AssertionError: except AssertionError:
logger.error('PSF fit yielded invalid value {0:.1f} for parameter {1}.'.format( logger.error('PSF fit yielded invalid value {0:.1f} for parameter {1}.'.format(
parameter, value)) value, parameter))
else: else:
logger.info('Updated parameters "{0}" to {1}.'.format(parameter, value)) logger.info('Updated parameters "{0}" to {1}.'.format(parameter, value))
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment