Skip to content
Prev Previous commit
Next Next commit
test/func: modifying refinement to allow lists and dicts and adding a…
… test of refinement for squeeze and funcy
  • Loading branch information
Luiskitsu committed Apr 29, 2025
commit ca832a6f1f89f8227feabfb6ed65548c66888503
4 changes: 3 additions & 1 deletion src/diffpy/morph/refine.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
class Refiner(object):
"""Class for refining a Morph or MorphChain.

This is provided to allow for custom residuals and refinement algorithms.

Attributes
----------
chain
Expand Down Expand Up @@ -158,7 +160,7 @@ def refine(self, *args, **kw):
emesg
raise ValueError(emesg)

# Place the fit parameters back into config
# Place the fit parameters in config
vals = sol
if not hasattr(vals, "__iter__"):
vals = [vals]
Expand Down