Skip to content

Commit 14e9059

Browse files
committed
fir for hierarchical models
1 parent 72d42ae commit 14e9059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactionsystem_serialisation/serialise_reactionsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function get_full_system_string(rn::ReactionSystem, annotate::Bool, top_level::B
9292
has_equations, has_observed, has_defaults, has_continuous_events,
9393
has_discrete_events, has_systems, has_connection_type)
9494
annotate || (@string_prepend! "\n" file_text)
95-
annotate && @string_prepend! "\n# Serialised using Catalyst version v$(Catalyst.VERSION)." file_text
95+
annotate && top_level && @string_prepend! "\n# Serialised using Catalyst version v$(Catalyst.VERSION)." file_text
9696
@string_prepend! "let" file_text
9797
@string_append! file_text "\n\n" rs_creation_code "\n\nend"
9898

0 commit comments

Comments
 (0)