Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Spreizer <[email protected]>
  • Loading branch information
pnbabu and babsey authored Jul 17, 2024
1 parent 33b3093 commit a30f97c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"id": "{{neuronName}}",
"elementType": "neuron",
"label": "{{neuronName}}",
"recordables": [
"id": "{{neuronName}}",
"elementType": "neuron",
"label": "{{neuronName}}",
"recordables": [
{%- for variable in neuron.get_state_symbols() %}
"{{variable.get_symbol_name()}}"
{%- if not loop.last %},{%- endif %}
{%- endfor %}
],
"params": [
],
"params": [
{%- for variable in neuron.get_parameter_symbols() %}
{%- set last = loop.last %}
{%- include "ParameterDeclaration.jinja2" %}
{%- endfor %}
]
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- set default_value = parameters[variable.get_symbol_name()] %}
{
"id": "{{name}}",
"label": "{{variable.print_comment()}}",
"label": "{{variable.print_comment().strip()}}",
"unit": "{{type_symbol}}",
"value": "{{default_value}}"
}{%- if not last %},{%- endif %}

0 comments on commit a30f97c

Please sign in to comment.