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

Spinnaker new #11

Merged
merged 293 commits into from
Sep 21, 2023
Merged

Spinnaker new #11

merged 293 commits into from
Sep 21, 2023

Conversation

siirty
Copy link

@siirty siirty commented Mar 12, 2023

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

{%- include "directives_cpp/Block.jinja2" %}
{%- endfor %}
{%- endfilter %}
{%- if neuron.get_update_blocks() %}
Copy link
Owner

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>
Copy link
Owner

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 @@

Copy link
Owner

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?

@clinssen
Copy link
Owner

Could you please fix the static checks too? Cheers!

setup.py Outdated
@@ -67,4 +67,4 @@

install_requires=requirements,
test_suite="tests",
)
Copy link
Owner

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
Copy link
Owner

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!

clinssen and others added 27 commits March 24, 2023 11:37
Fix conflict with sympy predefined/built-in functions
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
* Add lexer and parser for removing end keyword

* Remove end keyword for neuron models

* Remove end keyword for synapse models
---------

Co-authored-by: Jochen Martin Eppler <jougs@gmx.net>
Make sure continuous-time value buffers are properly initialized
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
le-schmidt and others added 29 commits August 17, 2023 12:02
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
Co-authored-by: C.A.P. Linssen <charl@turingbirds.com>
@clinssen clinssen merged commit 12b1a4b into clinssen:spinnaker-new Sep 21, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants