-
Notifications
You must be signed in to change notification settings - Fork 10
Vogels fix #138
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
Vogels fix #138
Conversation
rowleya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of things to check...
| # bool hard code for extracting the weights or not | ||
| EXTRACT_WEIGHTS = False | ||
| GENERATE_PLOT = False | ||
| GENERATE_PLOT = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to be OK in the integration tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YES in fact the tests need that.
when it finds matplotlib.pyplot in the script it mocks that out (python hack)
Then checks the mock is actually called.
- Does not check how or with what t is called
| def test_examples_balanced_random_balanced_random(self): | ||
| self.check_script("examples/balanced_random/balanced_random.py") | ||
|
|
||
| def test_examples_balanced_random_split_balanced_random_split(self): | ||
| self.check_script("examples/balanced_random/split/balanced_random_split.py") | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have these been removed on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ABSOLUTELY!
- This change is done automatically by script_builder.py
- that is what intergation tests do
- Try running the test it fails as that code has been moved. (removed as duplicate)
- The moved code is tested elsewhere
|
This PR got commits meant for another pr will redo |
fixes #136
fixes #71
Adds an example for
synapses_stdp_izhikevich_neuromodulation_vogels_2011_additive.aplx