From 160668f1feb0e7ba5c2af04c0a0b256eef182d2c Mon Sep 17 00:00:00 2001 From: Torkel Date: Sat, 13 Jul 2024 21:46:02 -0400 Subject: [PATCH] up --- src/dsl.jl | 2 +- test/dsl/dsl_advanced_model_construction.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsl.jl b/src/dsl.jl index b8e556979e..5bb85f2e2d 100644 --- a/src/dsl.jl +++ b/src/dsl.jl @@ -145,7 +145,7 @@ end # The case where the name contains an interpolation. macro network_component(name::Expr, network_expr::Expr) - make_rs_expr(esc(name.args[1]); complete = false) + make_rs_expr(esc(name.args[1]), network_expr; complete = false) end # The case where nothing, or only a name, is provided. diff --git a/test/dsl/dsl_advanced_model_construction.jl b/test/dsl/dsl_advanced_model_construction.jl index 06068c2c9a..ead43f303f 100644 --- a/test/dsl/dsl_advanced_model_construction.jl +++ b/test/dsl/dsl_advanced_model_construction.jl @@ -131,7 +131,7 @@ let end # Line number nodes aren't ignored so have to be manually removed Base.remove_linenums!(ex) - @test eval(Catalyst.make_reaction_system(ex, name = QuoteNode(:name))) isa ReactionSystem + @test eval(Catalyst.make_reaction_system(ex, QuoteNode(:name))) isa ReactionSystem end # Miscellaneous interpolation tests. Unsure what they do here (not related to DSL).