-
Notifications
You must be signed in to change notification settings - Fork 246
Maintain backward compatibility for spike event variables in create_variables #1617
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi @maverick4code. Could you please turn this PR into a draft to signal that it is not ready for merging yet? Also, please edit the title/description to mention what it is about and include a link to the issue. Regarding the content: for |
|
@mstimberg Are the changes correct ? |
|
Hi @maverick4code, in the meanwhile you wait for the pr to be checked you might want to check out the black formatting tool, since I see here it's giving you an error, which can help before you commit something 😄 . https://brian2.readthedocs.io/en/stable/developer/guidelines/style.html#code-style |
|
Hi @maverick4code. From what I can see, the code still adds a PS: This is a minor issue since I know what this PR is about, but the current title and description is not describing what the PR is aiming for (which would be "Refractoriness for custom events"), but rather describes the latest changes to this PR. Also, it links to itself instead of to #868. |
|
Hi @maverick4code. Thanks for your work on this so far, just checking: are you still interested/do you have the time to work on this? |
|
Hi @mstimberg, yes I’m definitely still interested! I will make the suggested fixes and updates soon. |
|
Happy to hear that! |
This pull request updates the
create_variablesfunction to special case the spike event. This is to maintain backward compatibility and prevent breaking user's existing code, as discussed in #1617.