Skip to content

Commit f94585d

Browse files
committed
Change inits type from list to dict in ThinLayerCopasi
Updated the 'inits' attribute in the ThinLayerCopasi class from a list of InitMap to a dictionary mapping strings to InitMap. This change likely improves lookup efficiency and clarifies the intended data structure.
1 parent 8bad59d commit f94585d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyenzyme/thinlayers/basico.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ThinLayerCopasi(BaseThinLayer):
4545

4646
model: basico.COPASI.CDataModel
4747
model_dir: Path | str
48-
inits: list[InitMap]
48+
inits: dict[str, InitMap]
4949
cols: list[str]
5050
parameters: list
5151
nu_enzmldoc: v2.EnzymeMLDocument

0 commit comments

Comments
 (0)