Skip to content

Commit e575fb5

Browse files
committed
formating
1 parent 23763d6 commit e575fb5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/reactionsystem_serialisation/serialise_reactionsystem.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function save_reactionsystem(filename::String, rn::ReactionSystem;
3939
if !isempty(get_networkproperties(rn))
4040
@warn "The serialised network has cached network properties (e.g. computed conservation laws). This will not be saved as part of the network, and must be recomputed when it is loaded."
4141
end
42-
42+
4343
# Write model to file and performs a safety check.
4444
open(filename, "w") do file
4545
write(file, get_full_system_string(rn, annotate, true))
@@ -96,11 +96,10 @@ end
9696

9797
# Creates a ReactionSystem call for creating the model. Adds all the correct inputs to it. The input
9898
# `has_` `Bool`s described which inputs are used. If the model is `complete`, this is handled here.
99-
function make_reaction_system_call(
100-
rs::ReactionSystem, annotate, top_level, has_sivs, has_species,
101-
has_variables, has_parameters, has_reactions, has_equations,
102-
has_observed, has_defaults, has_continuous_events, has_discrete_events,
103-
has_systems, has_connection_type)
99+
function make_reaction_system_call(rs::ReactionSystem, annotate, top_level, has_sivs,
100+
has_species, has_variables, has_parameters, has_reactions, has_equations,
101+
has_observed, has_defaults, has_continuous_events, has_discrete_events, has_systems,
102+
has_connection_type)
104103

105104
# Gets the independent variable input.
106105
iv = x_2_string(get_iv(rs))

0 commit comments

Comments
 (0)