Skip to content

Commit 417b514

Browse files
authored
Merge pull request #937 from SciML/add_warning_to_rs_fields_set
Add warning to ReactionSystem field list
2 parents 919e480 + 175aba5 commit 417b514

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/reactionsystem.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,14 @@ end
204204

205205
### ReactionSystem Structure ###
206206

207+
"""
208+
WARNING!!!
209+
210+
The following variable is used to check that code that should be updated when the `ReactionSystem`
211+
fields are updated has in fact been updated. Do not just blindly update this without first checking
212+
all such code and updating it appropriately (e.g. serialization). Please use a search for
213+
`reactionsystem_fields` throughout the package to ensure all places which should be updated, are updated.
214+
"""
207215
# Constant storing all reaction system fields (in order). Used to check whether the `ReactionSystem`
208216
# structure have been updated (in the `reactionsystem_uptodate_check` function).
209217
const reactionsystem_fields = (

0 commit comments

Comments
 (0)