diff --git a/src/pathways.jl b/src/pathways.jl index 24cd3e838b0e36b2fa5c9246dd25780c16d58935..23b5c36cc8efc9383c637c20979258952f55ad77 100644 --- a/src/pathways.jl +++ b/src/pathways.jl @@ -3,7 +3,7 @@ import LinearAlgebra: norm, tr import StaticArrays: SVector, SMatrix import ..Components: NoGradient, RFPulseComponent, ReadoutComponent, InstantGradient, GradientWaveform import ..Containers: BaseSequence, Sequence, BaseBuildingBlock, waveform, events, waveform_sequence, start_time, AlternativeBlocks -import ..Variables: VariableType, get_pathway, variables, @defvar +import ..Variables: VariableType, get_pathway, variables, @defvar, AbstractBlock """ @@ -45,7 +45,7 @@ The area under curve, q-values, and b-values are computed separately for each gr - [`bmat`](@ref): Net diffusion weighting due to gradients along the `Pathway` in matrix form. - [`bval`](@ref): Net diffusion weighting due to gradients along the `Pathway` as a single number. """ -struct Pathway +struct Pathway <: AbstractBlock # user provided sequence :: Sequence pulse_effects :: Vector{<:Union{Symbol, Number}}