diff --git a/src/blox/cortical.jl b/src/blox/cortical.jl index d09f1d64..3b465588 100644 --- a/src/blox/cortical.jl +++ b/src/blox/cortical.jl @@ -89,6 +89,7 @@ struct LIFExciCircuitBlox <: CompositeBlox parts odesystem connector + kwargs function LIFExciCircuitBlox(; name, @@ -157,7 +158,7 @@ struct LIFExciCircuitBlox <: CompositeBlox sys = isnothing(namespace) ? system_from_graph(g, bc; name) : system_from_parts(neurons; name) - new(namespace, neurons, sys, bc) + new(namespace, neurons, sys, bc, kwargs) end end @@ -166,6 +167,7 @@ struct LIFInhCircuitBlox <: CompositeBlox parts odesystem connector + kwargs function LIFInhCircuitBlox(; name, @@ -230,6 +232,6 @@ struct LIFInhCircuitBlox <: CompositeBlox sys = isnothing(namespace) ? system_from_graph(g, bc; name) : system_from_parts(neurons; name) - new(namespace, neurons, sys, bc) + new(namespace, neurons, sys, bc, kwargs) end end diff --git a/src/blox/sources.jl b/src/blox/sources.jl index 5a973c8c..4bcea1c6 100644 --- a/src/blox/sources.jl +++ b/src/blox/sources.jl @@ -1,5 +1,3 @@ -@parameters t - # Simple input blox mutable struct ExternalInput <: StimulusBlox namespace