diff --git a/models/neurons/wb_cond_multisyn.nestml b/models/neurons/wb_cond_multisyn.nestml index 55eb93c6a..dd14075d4 100644 --- a/models/neurons/wb_cond_multisyn.nestml +++ b/models/neurons/wb_cond_multisyn.nestml @@ -29,7 +29,6 @@ wb_cond_multisyn neuron wb_cond_multisyn: state: r integer = 0 # number of steps in the current refractory phase - V_m mV = -65. mV # Membrane potential Inact_h real = alpha_h_init / ( alpha_h_init + beta_h_init ) # Inactivation variable h for Na Act_n real = alpha_n_init / (alpha_n_init + beta_n_init) # Activation variable n for K diff --git a/tests/invalid/CoCoPrioritiesCorrectlySpecified.nestml b/tests/invalid/CoCoPrioritiesCorrectlySpecified.nestml index 85d7a6968..dcb143406 100644 --- a/tests/invalid/CoCoPrioritiesCorrectlySpecified.nestml +++ b/tests/invalid/CoCoPrioritiesCorrectlySpecified.nestml @@ -39,3 +39,7 @@ synapse CoCoPrioritiesCorrectlySpecified: onReceive(post_spikes, priority=1): print("onReceive post_spikes") + + parameters: + w real = 1. @nest::weight + d ms = 1 ms @nest::delay diff --git a/tests/invalid/CoCoResolutionLegallyUsed.nestml b/tests/invalid/CoCoResolutionLegallyUsed.nestml index c9e25b2a0..5be5c8250 100644 --- a/tests/invalid/CoCoResolutionLegallyUsed.nestml +++ b/tests/invalid/CoCoResolutionLegallyUsed.nestml @@ -41,4 +41,6 @@ synapse CoCoResolutionLegallyUsed: return w parameters: + w real = 1. @nest::weight + d ms = 1 ms @nest::delay tau ms = 10 ms diff --git a/tests/nest_tests/resources/TimeVariableSynapse.nestml b/tests/nest_tests/resources/TimeVariableSynapse.nestml index 430c463ad..ddcda93fc 100644 --- a/tests/nest_tests/resources/TimeVariableSynapse.nestml +++ b/tests/nest_tests/resources/TimeVariableSynapse.nestml @@ -1,4 +1,4 @@ -""" +""" TimeVariableSynapse.nestml ########################## @@ -32,7 +32,8 @@ synapse time_variable_synapse: y = t parameters: - d ms = 1 ms @nest::delay + w real = 1. @nest::weight + d ms = 1 ms @nest::delay input: pre_spikes <- spike diff --git a/tests/nest_tests/resources/dopa_synapse_second_order.nestml b/tests/nest_tests/resources/dopa_synapse_second_order.nestml index 8522b3ec7..47e246800 100644 --- a/tests/nest_tests/resources/dopa_synapse_second_order.nestml +++ b/tests/nest_tests/resources/dopa_synapse_second_order.nestml @@ -36,13 +36,14 @@ synapse dopa_synapse_second_order: dopa_rate_d real = 0. parameters: + w real = 1. @nest::weight + d ms = 1 ms @nest::delay tau_dopa ms = 100 ms - d ms = 1 ms @nest::delay equations: dopa_rate' = dopa_rate_d / ms dopa_rate_d' = -dopa_rate / tau_dopa**2 * ms - 2 * dopa_rate_d / tau_dopa - + input: pre_spikes <- spike dopa_spikes <- spike @@ -52,6 +53,6 @@ synapse dopa_synapse_second_order: onReceive(dopa_spikes): dopa_rate_d += 1. / tau_dopa - + onReceive(pre_spikes): deliver_spike(1., 1 ms) diff --git a/tests/resources/SynapseEventSequenceTest.nestml b/tests/resources/SynapseEventSequenceTest.nestml index 852843ba2..2c9913951 100644 --- a/tests/resources/SynapseEventSequenceTest.nestml +++ b/tests/resources/SynapseEventSequenceTest.nestml @@ -30,6 +30,10 @@ You should have received a copy of the GNU General Public License along with NEST. If not, see . """ synapse SynapseEventSequenceTest: + parameters: + w real = 1. @nest::weight + d ms = 1 ms @nest::delay + state: tr real = 1. diff --git a/tests/resources/synapse_event_inv_priority_test.nestml b/tests/resources/synapse_event_inv_priority_test.nestml index 6c09c1a6c..62e76d09a 100644 --- a/tests/resources/synapse_event_inv_priority_test.nestml +++ b/tests/resources/synapse_event_inv_priority_test.nestml @@ -34,7 +34,8 @@ synapse synapse_event_inv_priority_test: tr real = 1. parameters: - d ms = 1. ms @nest::delay + w real = 1. @nest::weight + d ms = 1 ms @nest::delay input: pre_spikes <- spike diff --git a/tests/resources/synapse_event_priority_test.nestml b/tests/resources/synapse_event_priority_test.nestml index 07684a491..bd8272681 100644 --- a/tests/resources/synapse_event_priority_test.nestml +++ b/tests/resources/synapse_event_priority_test.nestml @@ -34,7 +34,8 @@ synapse synapse_event_priority_test: tr real = 1. parameters: - d ms = 1. ms @nest::delay + w real = 1. @nest::weight + d ms = 1 ms @nest::delay input: pre_spikes <- spike diff --git a/tests/valid/CoCoPrioritiesCorrectlySpecified.nestml b/tests/valid/CoCoPrioritiesCorrectlySpecified.nestml index f3a8cc53f..2673a5c13 100644 --- a/tests/valid/CoCoPrioritiesCorrectlySpecified.nestml +++ b/tests/valid/CoCoPrioritiesCorrectlySpecified.nestml @@ -30,6 +30,10 @@ You should have received a copy of the GNU General Public License along with NEST. If not, see . """ synapse CoCoPrioritiesCorrectlySpecified: + parameters: + w real = 1. @nest::weight + d ms = 1 ms @nest::delay + input: pre_spikes <- spike post_spikes <- spike diff --git a/tests/valid/CoCoResolutionLegallyUsed.nestml b/tests/valid/CoCoResolutionLegallyUsed.nestml index db0e30865..db232cf64 100644 --- a/tests/valid/CoCoResolutionLegallyUsed.nestml +++ b/tests/valid/CoCoResolutionLegallyUsed.nestml @@ -31,6 +31,7 @@ along with NEST. If not, see . """ synapse CoCoResolutionLegallyUsed: parameters: + w real = 1. @nest::weight d ms = 1 ms @nest::delay a ms = resolution()