From c898718e942e6a495c34d1afaa91d811195a1cbd Mon Sep 17 00:00:00 2001 From: Torkel Date: Mon, 10 Jun 2024 11:30:37 -0400 Subject: [PATCH 1/2] init --- src/reactionsystem.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/reactionsystem.jl b/src/reactionsystem.jl index bf20c9411..9962586cf 100644 --- a/src/reactionsystem.jl +++ b/src/reactionsystem.jl @@ -204,6 +204,14 @@ end ### ReactionSystem Structure ### +""" +WARNING!!! + +The following variable is used to check that code that should be updated when the `ReactionSystem` +fields are updated have in fact been updated. Do not just blindly update this without first checking +all such code and updating it appropriately (e.g. serialization). Please use a search for +`reactionsystem_fields` throughout the package to ensure all places which should be updated, are updated. +""" # Constant storing all reaction system fields (in order). Used to check whether the `ReactionSystem` # structure have been updated (in the `reactionsystem_uptodate_check` function). const reactionsystem_fields = ( From 175aba5440cadcab3c6e37a6ab9f30fbd9019213 Mon Sep 17 00:00:00 2001 From: Sam Isaacson Date: Mon, 10 Jun 2024 13:07:53 -0400 Subject: [PATCH 2/2] Update src/reactionsystem.jl --- src/reactionsystem.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reactionsystem.jl b/src/reactionsystem.jl index 9962586cf..a84d41c52 100644 --- a/src/reactionsystem.jl +++ b/src/reactionsystem.jl @@ -208,7 +208,7 @@ end WARNING!!! The following variable is used to check that code that should be updated when the `ReactionSystem` -fields are updated have in fact been updated. Do not just blindly update this without first checking +fields are updated has in fact been updated. Do not just blindly update this without first checking all such code and updating it appropriately (e.g. serialization). Please use a search for `reactionsystem_fields` throughout the package to ensure all places which should be updated, are updated. """