You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (length(options[:default_noise_scaling].args) !=3) #Becasue of how expressions are, 3 is used.
605
+
if (length(options[:default_noise_scaling].args) !=3) #Because of how expressions are, 3 is used.
606
606
error("@default_noise_scaling should only have a single input, this appears not to be the case: \"$(options[:default_noise_scaling])\"")
607
607
end
608
608
push!(default_reaction_metadata.args,
@@ -612,7 +612,7 @@ end
612
612
613
613
# When compound species are declared using the "@compound begin ... end" option, get a list of the compound species, and also the expression that crates them.
614
614
functionread_compound_options(opts)
615
-
# If the compound option is used retrive a list of compound species (need to be added to the reaction system's species), and the option that creates them (used to declare them as compounds at the end).
615
+
# If the compound option is used retrieve a list of compound species (need to be added to the reaction system's species), and the option that creates them (used to declare them as compounds at the end).
616
616
ifhaskey(opts, :compounds)
617
617
compound_expr = opts[:compounds]
618
618
# Find compound species names, and append the independent variable.
@@ -625,7 +625,7 @@ function read_compound_options(opts)
625
625
return compound_expr, compound_species
626
626
end
627
627
628
-
# Read the events (continious or discrete) provided as options to the DSL. Returns an expression which evalutes to these.
628
+
# Read the events (continuous or discrete) provided as options to the DSL. Returns an expression which evaluates to these.
@@ -753,11 +753,11 @@ function read_observed_options(options, species_n_vars_declared, ivs_sorted)
753
753
754
754
# Error checks.
755
755
if (obs_name in species_n_vars_declared) &&is_escaped_expr(obs_eq.args[2])
756
-
error("An interpoalted observable have been used, which has also been explicitly delcared within the system using eitehr @species or @variables. This is not permited.")
756
+
error("An interpolated observable have been used, which has also been explicitly declared within the system using either @species or @variables. This is not permitted.")
757
757
end
758
758
if ((obs_name in species_n_vars_declared) ||is_escaped_expr(obs_eq.args[2])) &&
759
759
!isnothing(metadata)
760
-
error("Metadata was provided to observable $obs_name in the `@observables` macro. However, the obervable was also declared separately (using either @species or @variables). When this is done, metadata should instead be provided within the original @species or @variable declaration.")
760
+
error("Metadata was provided to observable $obs_name in the `@observables` macro. However, the observable was also declared separately (using either @species or @variables). When this is done, metadata should instead be provided within the original @species or @variable declaration.")
761
761
end
762
762
763
763
# This bits adds the observables to the @variables vector which is given as output.
@@ -789,7 +789,7 @@ function read_observed_options(options, species_n_vars_declared, ivs_sorted)
789
789
790
790
# Adds the observable to the list of observable names.
791
791
# This is required for filtering away so these are not added to the ReactionSystem's species list.
792
-
# Again, avoid this check if we have interpoalted the variable.
792
+
# Again, avoid this check if we have interpolated the variable.
0 commit comments