ocesou / hooke

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

set flatten invalid output #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set flatten '
2.
3.

What is the expected output? What do you see instead?
expected:
Invalid input.

Saw:
hooke: set flatten '
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 182, 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/hooke_cli.py", line 214, in do_set
    self.do_plot(0)
  File "/home/phdstudent/hooke/hooke_cli.py", line 533, in do_plot
    self.plots[c]=function(self.plots[c], self.current)
  File "/home/phdstudent/hooke/generalvclamp.py", line 186, in
plotmanip_flatten
    for i in range(int(max_cycles)):
ValueError: invalid literal for int() with base 10: "'"

Please use labels and text to provide additional information.

Original issue reported on code.google.com by fabrizio...@gmail.com on 3 Feb 2010 at 9:13

GoogleCodeExporter commented 8 years ago
Fixed in revision 237.

Original comment by devicera...@gmail.com on 10 Feb 2010 at 9:05

GoogleCodeExporter commented 8 years ago

Original comment by devicera...@gmail.com on 10 Feb 2010 at 9:05