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
Copy file name to clipboardExpand all lines: src/spatial_reaction_systems/spatial_reactions.jl
+11-7
Original file line number
Diff line number
Diff line change
@@ -103,28 +103,32 @@ function check_spatial_reaction_validity(rs::ReactionSystem, tr::TransportReacti
103
103
ifany(isequal(tr.species, s) &&!isequivalent(tr.species, s) for s inspecies(rs))
104
104
error("A transport reaction used a species, $(tr.species), with metadata not matching its lattice reaction system. Please fetch this species from the reaction system and use it during transport reaction creation.")
105
105
end
106
-
# No `for` loop, just weird formatting by the formatter.
for rs_p inparameters(rs), tr_p in Symbolics.get_variables(tr.rate))
107
+
for rs_p inparameters(rs), tr_p in Symbolics.get_variables(tr.rate))
109
108
error("A transport reaction used a parameter with metadata not matching its lattice reaction system. Please fetch this parameter from the reaction system and use it during transport reaction creation.")
110
109
end
111
110
112
111
# Checks that no edge parameter occurs among rates of non-spatial reactions.
113
-
# No `for` loop, just weird formatting by the formatter.
0 commit comments