Skip to content

Commit

Permalink
Updating framework to prevent fall-through terms on algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Nov 18, 2024
1 parent 9de6f9a commit c8a06ca
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 105 deletions.
2 changes: 1 addition & 1 deletion biosimulators_copasi/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def _load_algorithm_parameters(sim: Simulation, copasi_algorithm: utils.CopasiAl
# Load the algorithm parameter changes specified by `simulation.algorithm_parameter_changes`
algorithm_substitution_policy: AlgSubPolicy = bsu_sim_utils.get_algorithm_substitution_policy(config=config)
requested_algorithm: Algorithm = sim.algorithm
if copasi_algorithm.KISAO_ID != requested_algorithm.kisao_id:
if copasi_algorithm.get_kisao_id() != requested_algorithm.kisao_id:
return

unsupported_parameters, bad_parameters = utils.set_algorithm_parameter_values(copasi_algorithm,
Expand Down
Loading

0 comments on commit c8a06ca

Please sign in to comment.