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

Have a consistent way to set/get parameters for all objects in PyNN #419

Open
apdavison opened this issue Jul 2, 2016 · 0 comments
Open
Milestone

Comments

@apdavison
Copy link
Member

To set parameters on objects in PyNN, some objects have obj.set(param=val), others obj.set_parameters(param=val) or obj.param = val.

This difference is often confusing (see #380, #381, #418). We should consider choosing one of these, and implementing it for all relevant classes, with deprecation warnings for the old-style.

The downside of this is that it might break a lot of existing code.

@apdavison apdavison added this to the future milestone Jul 2, 2016
@apdavison apdavison modified the milestones: future, 1.0 Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant