3.1. wc_test package¶
3.1.1. Submodules¶
3.1.2. wc_test._version module¶
3.1.3. wc_test.core module¶
Methods for verifying models and simulations
- Author
Balazs Szigeti <balazs.szigeti@mssm.edu>
- Author
Jonathan Karr <jonrkarr@gmail.com>
- Date
2018-05-10
- Copyright
2018, Karr Lab
- License
MIT
TODO: - all reaction methods: currently len(rate_laws)=1 assumed, generalize - mod_parameters values are INTs in change_methods, but LISTs for sim_scan methods, synchornize
-
class
wc_test.core.
KnowledgeBaseTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Methods for testing knowledge bases for WC models
- Class attributes:
- KB (
wc_kb.KnowledgeBase
orstr
): knowledge base or path to a knowledge base file
- KB (
-
class
wc_test.core.
ModelTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Methods for testing WC models
- Class attributes:
MODEL (
wc_lang.Model
orstr
): model or path to a model file KB (wc_kb.KnowledgeBase
orstr
): knowledge base or path to aknowledge base file
-
class
wc_test.core.
SimulationTestCase
(methodName='runTest')[source]¶ Bases:
wc_test.core.ModelTestCase
Class to test simulations of models