ocesou / hooke

Automatically exported from code.google.com/p/hooke
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Cannot do autopeak with the last revision 266 #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I have just download the last revision with svn (in an empty folder).
I tried to use autopeak with the standard curve and I get this:

hooke: autopeak
/usr/local/lib/python2.6/dist-packages/scipy/odr/odrpack.py:1049:
DeprecationWarning: PyArray_FromDims: use PyArray_SimpleNew.
  self.output = Output(apply(odr, args, kwds))
/usr/local/lib/python2.6/dist-packages/scipy/odr/odrpack.py:1049:
DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  self.output = Output(apply(odr, args, kwds))
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "hooke.py", line 175, in run
    cli.cmdloop()
  File "/usr/lib/python2.6/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "/home/phdstudent/hooke_develop/autopeak.py", line 189, in do_autopeak
    params, yfit, xfit, fit_errors = self.wlc_fit(points,
displayed_plot.vectors[1][0], displayed_plot.vectors[1][1], pl_value, T,
return_errors=True)
ValueError: too many values to unpack

Could it be a problem with fit.py?

Original issue reported on code.google.com by fabrizio...@gmail.com on 5 May 2010 at 12:57

GoogleCodeExporter commented 8 years ago
Apparently it is a problem with the last version of fit.py.  I tried to use the
fit.py of the versione 265 and wverything work fine.

Is it possible to have a bugfix?

Original comment by fabrizio...@gmail.com on 6 May 2010 at 7:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry, fixed, I think.

Original comment by albertog...@gmail.com on 6 May 2010 at 9:10