[ENH] Extend Mushroom body tutorials to use custom updates for resetting#661
[ENH] Extend Mushroom body tutorials to use custom updates for resetting#661neworderofjamie merged 7 commits intogenn-team:masterfrom
Conversation
neworderofjamie
left a comment
There was a problem hiding this comment.
This looks really great and works perfectly - well done for figuring this out! Two really minor things:
- Could you remove the unused duplicate custom updates you define in cell 13 (under the Simulate tutorial model section)
- There's no need to seperate the custom updates into two groups ("reset_neuron_group" and "reset_synapse_group")
- You can reduce the number of custom updates you have to create by resetting "out_post" in the same one as you reset other neuron variables (e.g. pn_kc's out_post could be reset using the same custom update as kc's neuron variables)
|
@neworderofjamie, I created a branch after forking the repository. Could this be the reason for the issue with continuous-integration/jenkins/branch? Please let me know how I can resolve it. |
|
Don't worry about the continuous integration - it doesn't seem to be working for some reason but that's not related to you or your change. Could you implement at least the first two of my suggestions though? It's hard to tell with notebooks but it looks like your last change just deleted the plotting code |
@neworderofjamie do i have make these this `# Create custom updates reset_neuron_kc = model.add_custom_update( reset_neuron_ggn = model.add_custom_update( reset_neuron_mbon = model.add_custom_update( reset_synapse_pn_kc = model.add_custom_update( reset_synapse_ggn_kc = model.add_custom_update( reset_synapse_kc_mbon = model.add_custom_update( in 1 group |
|
I don't really understand your question. All I am saying is:
|
…p". Cell 13 duplicated removed.
…p". Cell 13 duplicated removed.
|
@neworderofjamie, I have completed the tasks you mentioned above. |
|
Looks good, could you remove the duplicate calls to |
@neworderofjamie , remove the duplicate calls to model.custom_update("reset_group") |
|
@neworderofjamie I have fixed. |
|
There is still a duplicate call to |
|
|
Very nice! thanks for your work on this |
Thank you. |
closes #656
Description