Commit ad4ae9ef authored by Chris Smith's avatar Chris Smith
Browse files

Fixed bug in BELoopModel.do_fit

Fixed a bug in a print statement.
parent 9eba2822
......@@ -340,7 +340,8 @@ class BELoopModel(Model):
legit_solver = solver_type in scipy.optimize.__dict__.keys()
legit_obj_func = obj_func['obj_func'] in BE_Fit_Methods().methods
if legit_solver and legit_obj_func:
print("Using solver %s and objective function %s to fit your data\n" % solver_type, obj_func['obj_func'])
print("Using solver {} and objective function {} to fit your data\n".format(solver_type,
obj_func['obj_func']))
while self.data is not None:
opt = LoopOptimize(data=loops_2d_shifted, guess=self.guess, parallel=self._parallel)
temp = opt.computeFit(processors=processors, solver_type=solver_type, solver_options=solver_options,
......
......@@ -20,7 +20,7 @@ else:
setup(
name='pycroscopy',
version='0.0a39',
version='0.0a40',
description='A suite of Python libraries for high performance scientific computing of microscopy data.',
long_description=long_description,
classifiers=[
......
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