Skip to content

Commit

Permalink
Update SBMLNetwork; include new case in switches.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed Nov 8, 2024
1 parent d534315 commit 4f081b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
libroadrunner_deps_owner: [ "sys-bio" ]
libroadrunner_deps_repo: [ "libroadrunner-deps" ]
libroadrunner_deps_name: [ "libroadrunner-deps" ]
libroadrunner_deps_release_version: [ "v2.2.9" ]
libroadrunner_deps_release_version: [ "v2.2.10" ]
python_version: [ "3.12" ]

runs-on: ${{ matrix.platform.os_name }}
Expand Down
2 changes: 2 additions & 0 deletions src/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3529,6 +3529,7 @@ LayoutWrapper* CreateAndCheckLayoutWrapper(const std::string* type, Formula* for
case lt_x:
case lt_y:
case lt_position:
case lt_reactionArc:
g_registry.SetError("Unable to set " + group + "." + *type + ": the position of each " + group + " is unique, so cannot collectively have a single position.");
return NULL;
case lt_unknown:
Expand Down Expand Up @@ -3633,6 +3634,7 @@ string Module::ValidateLayoutArgument(const string* argument)
case lt_position:
case lt_x:
case lt_y:
case lt_reactionArc:
g_registry.SetError("Cannot set 'layout." + *argument + "': every element has a different location, so it cannot be set for everything at once.");
return "none";
case lt_size:
Expand Down

0 comments on commit 4f081b0

Please sign in to comment.