-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I noticed that when using generate_steady_states_no_multiphase() with any method except mmcs, you would get a zero-array of shape equal to the expected one - that's why the tests do not fail.
(base) u0156635@gbw-l-l0074:ext_data$ python
Python 3.9.5 | packaged by conda-forge | (default, Jun 19 2021, 00:32:32)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dingo
>>> model = dingo.MetabolicNetwork.from_sbml("e_coli_core.xml")
>>> sampler = dingo.PolytopeSampler(model)
>>> samples = sampler.generate_steady_states_no_multiphase()
>>> samples
array([[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
...,
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.]])
- OS: Ubuntu 24
Metadata
Metadata
Assignees
Labels
No labels