From 2e895934d76c87076ce5a6cd6d7617e71c89f78a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Apr 2011 12:30:10 -0400 Subject: [PATCH] Adjust fit-parameter handling for the polymer_fit plugin. This should have happened during changeset: 820:b0d23a0bdaf7 branch: wtk user: W. Trevor King date: Thu Apr 28 07:49:26 2011 -0400 summary: Adapt to handle scipy.optimize.leastsq for scipy >= 0.8.0. --- hooke/plugin/polymer_fit.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hooke/plugin/polymer_fit.py b/hooke/plugin/polymer_fit.py index 4447ca7..a4b6507 100644 --- a/hooke/plugin/polymer_fit.py +++ b/hooke/plugin/polymer_fit.py @@ -989,7 +989,6 @@ Indicies of points bounding the selected data. queue = Queue() params = model.fit(outqueue=queue) if True: # TODO: if Kuhn length fixed - params = [params] a = info['Kuhn length (m)'] else: a = params[1] @@ -1016,7 +1015,6 @@ Indicies of points bounding the selected data. queue = Queue() params = model.fit(outqueue=queue) if True: # TODO: if Kuhn length fixed - params = [params] a = info['Kuhn length (m)'] else: a = params[1] @@ -1042,7 +1040,6 @@ Indicies of points bounding the selected data. queue = Queue() params = model.fit(outqueue=queue) if True: # TODO: if persistence length fixed - params = [params] p = info['persistence length (m)'] else: p = params[1] -- 2.26.2