Adjust fit-parameter handling for the polymer_fit plugin.
[hooke.git] / hooke / plugin / polymer_fit.py
index 4447ca76e21571aac8f5623554e7f26bfc55493d..a4b65074bcd3e5ef57edb9e8b0e12941ab794a35 100644 (file)
@@ -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]