Skip to content

Commit 2634b21

Browse files
TorkelEisaacsas
andauthored
Update src/reaction_network.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 3b786b8 commit 2634b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reaction_network.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ function read_observed_options(options, species_declared, ivs_sorted)
705705
isnothing(defaults) || error("An observable ($obs_name) was given a default value. This is forbidden.")
706706
in(obs_name, forbidden_symbols_error) && error("A forbidden symbol ($(obs_eq.args[2])) was used as an observable name.")
707707
if (obs_name in species_declared)
708-
isnothing(metadata) || error("Metadata was provided to observable $obs_name in the `@observables` macro. However, the obervable was also declared separately (using either @species or @variables). When this is done, metadata cannot be provided within the @observables declaration.")
708+
isnothing(metadata) || error("Metadata was provided to observable $obs_name in the `@observables` macro. However, the obervable was also declared separately (using either @species or @variables). When this is done, metadata should instead be provided within the original @species or @variable declaration.")
709709
continue
710710
end
711711

0 commit comments

Comments
 (0)