Returns a cobra model for testing. The default model is the up to date version of the Salmonella enterica Typhimurium LT2 model published in Thiele et al. 2011 BMC Sys Bio 5:8
test_pickle: The complete file name of a pickled cobra.Model or SBML XML file to be read. We currently provide Salmonella enterica Typhimurium and Escherichia coli models whose paths are stored in cobra.test.salmonella_pickle and cobra.test.ecoli_pickle, respectively. The ecoli model is a variant of the model published in Orth et al. 2011 Mol Syst Biol 7:535
Future test suite for parallel features
Bases: unittest.case.TestCase
Creates a test set for each of the installed solvers using the legacy interface.
Creates a test set for each of the solvers that are installed using the modular interface.
Creates a test set for each of the solvers that are installed using the modular interface.
Bases: unittest.case.TestCase
Bases: cobra.test.unit_tests.CobraTestCase
test core cobra functions
Bases: cobra.test.unit_tests.CobraTestCase
Save the cobra model as a .mat file.
This .mat file can be used directly in the MATLAB version of COBRA. .. note:: This function works best with scipy 0.11b1 or later
model : cobra.Model file_name : str or file-like object