Skip to content

Commit 6ba9df3

Browse files
modified with existing forbidden symbol
Signed-off-by: sivasathyaseeelan <[email protected]>
1 parent e1fcfbc commit 6ba9df3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/reactionsystem_core/reactionsystem.jl

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -614,18 +614,14 @@ end
614614

615615
# Test for forbidden symbols
616616
let
617-
# Define the forbidden symbols (mocked for the purpose of the test)
618-
forbidden_symbols_error = Set([:forbidden1, :forbidden2, :forbidden3])
619-
Catalyst.forbidden_symbols_error = forbidden_symbols_error
620-
621617
# Define parameters and species including forbidden symbols
622-
@parameters p1 forbidden1
623-
@species S1 forbidden2(t)
618+
@parameters p1 Γ
619+
@species S1(t)
624620

625621
# Define reactions using the species and parameters
626622
rxs = [
627623
Reaction(p1, [], [S1]),
628-
Reaction(forbidden1, [], [S1]),
624+
Reaction(Γ, [], [S1]),
629625
]
630626

631627
# Attempt to create a ReactionSystem and capture the error

0 commit comments

Comments
 (0)