Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Jul 14, 2024
1 parent a6b4c3a commit 160668f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dsl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/dsl/dsl_advanced_model_construction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 160668f

Please sign in to comment.