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

Fixed bug in logging.

parent 1b0e0796
......@@ -687,7 +687,7 @@ class FitLayer(object):
[setattr(psf, parameter, value) for psf in self.psf_instances.values()]
except AssertionError:
logger.error('PSF fit yielded invalid value {0:.1f} for parameter {1}.'.format(
parameter, value))
value, parameter))
else:'Updated parameters "{0}" to {1}.'.format(parameter, value))
Supports Markdown
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