Skip to content

Commit 9e809d5

Browse files
Updating framework to prevent fall-through terms on algorithms
1 parent 9de6f9a commit 9e809d5

File tree

5 files changed

+259
-105
lines changed

5 files changed

+259
-105
lines changed

biosimulators_copasi/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _load_algorithm_parameters(sim: Simulation, copasi_algorithm: utils.CopasiAl
421421
# Load the algorithm parameter changes specified by `simulation.algorithm_parameter_changes`
422422
algorithm_substitution_policy: AlgSubPolicy = bsu_sim_utils.get_algorithm_substitution_policy(config=config)
423423
requested_algorithm: Algorithm = sim.algorithm
424-
if copasi_algorithm.KISAO_ID != requested_algorithm.kisao_id:
424+
if copasi_algorithm.get_kisao_id() != requested_algorithm.kisao_id:
425425
return
426426

427427
unsupported_parameters, bad_parameters = utils.set_algorithm_parameter_values(copasi_algorithm,

0 commit comments

Comments
 (0)