Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueException should be ValueError #15

Open
jgosmann opened this issue Jun 14, 2017 · 1 comment
Open

ValueException should be ValueError #15

jgosmann opened this issue Jun 14, 2017 · 1 comment

Comments

@jgosmann
Copy link

When trying to redefine a parameter:

Traceback (most recent call last):
  File "/home/jgosmann/.pyenv/versions/3.5.3/bin/pytry", line 11, in <module>
    sys.exit(run())
  File "/home/jgosmann/.pyenv/versions/3.5.3/lib/python3.5/site-packages/pytry/cmdline.py", line 35, in run
    t = trials[0]()
  File "/home/jgosmann/.pyenv/versions/3.5.3/lib/python3.5/site-packages/pytry/trial.py", line 21, in __init__
    self.params()
  File "imem/models/neural_tcm.py", line 38, in params
    self.param("save debug data", debug=False)
  File "/home/jgosmann/.pyenv/versions/3.5.3/lib/python3.5/site-packages/pytry/trial.py", line 36, in param
    raise ValueException('Cannot redefine parameter "%s"' % k)
NameError: name 'ValueException' is not defined
@tcstewar
Copy link
Owner

That's been fixed since 2d57ade

I haven't done a release since then though....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants