-
Notifications
You must be signed in to change notification settings - Fork 3
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
Spinnaker new #11
Spinnaker new #11
Conversation
{%- include "directives_cpp/Block.jinja2" %} | ||
{%- endfor %} | ||
{%- endfilter %} | ||
{%- if neuron.get_update_blocks() %} |
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.
C++ (generated) code indentation should be independent of template code indentation. To indent the latter, please use
{%- [... indent here ...] while ... %}
@@ -0,0 +1,160 @@ | |||
#include <iaf_psc_exp_template.h> |
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 generated code, or the start of a new template? Generated code should not be part of the PR. If it is a template, could you rename it to something like @NEURON_NAME@.c.jinja2
?
setup.py
Outdated
@@ -25,6 +25,7 @@ | |||
|
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.
Are the additional newlines necessary?
Could you please fix the static checks too? Cheers! |
setup.py
Outdated
@@ -67,4 +67,4 @@ | |||
|
|||
install_requires=requirements, | |||
test_suite="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.
please fix missing newline
.gitignore
Outdated
@@ -31,3 +34,5 @@ venv | |||
*.gdf | |||
*~ | |||
*.iml | |||
pynestml/codegeneration/resources_spinnaker/common/iaf_psc_exp_template.c |
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.
Should these two lines be here?
.github
should not be ignored, it contains the CI scripts.
I'm fine with your other changes in this file, but can you spin them off to a separate pull request directly to https://github.com/nest/nestml? Cheers!
Fix conflict with sympy predefined/built-in functions
Fix OU noise tutorial
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
Fix links in ipython notebooks
Make sure continuous-time value buffers are properly initialized
Fix links in ipynb notebooks
Fix ternary operator handling
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
…ot be assigned to (nest#953)
I again went over the problems with symlinks and tested the old method on my Desktop PC where everything works as expected, so i reverted those changes. I also added templates which we may use as a baseline to see what needs to be generated. As i`m not yet that familiar with all the nest framework it may make sense that you briefly look through the function headers to see if everything necessary for the calculations is present