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

Simulator arguments #19

Open
jgosmann opened this issue Aug 15, 2017 · 3 comments
Open

Simulator arguments #19

jgosmann opened this issue Aug 15, 2017 · 3 comments

Comments

@jgosmann
Copy link

There doesn't seem any possibility to pass arguments to the simulator. This would be useful to turn off the optimizer for example or specify the context for Nengo OCL.

@tcstewar
Copy link
Owner

Yup... I haven't been able to think of a good way of doing this. When I've needed to, I've just switched to doing a pytry.PlotTrial rather than a pytry.NengoTrial and manually created the Simulator myself.....

@tcstewar
Copy link
Owner

Never mind! I just figured out a nice way to do this. :) You can now do "--backend nengo_whatever(myarg=3)" and it'll pass those parameters on to the simulator. :)

@tcstewar
Copy link
Owner

Here's the commit: 205830e

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