17.1.1.8.1.1.1.2. cobra.test.test_manipulation.test_delete
¶
Test functionalities of model component pruning functions.
17.1.1.8.1.1.1.2.1. Module Contents¶
17.1.1.8.1.1.1.2.1.1. Functions¶
|
Test the output type of unused metabolites pruning. |
|
Test the sanity of unused metabolites pruning. |
|
Test the output type of unused reactions pruning. |
|
Test the sanity of unused reactions pruning. |
|
Quickly find gene knockout reactions. |
|
Get trimmed reactions. |
|
Compute gene knockout. |
|
Test gene knockout. |
|
Test gene removal. |
-
cobra.test.test_manipulation.test_delete.
test_prune_unused_metabolites_output_type
(model: Model) → None[source]¶ Test the output type of unused metabolites pruning.
-
cobra.test.test_manipulation.test_delete.
test_prune_unused_metabolites_sanity
(model: Model) → None[source]¶ Test the sanity of unused metabolites pruning.
-
cobra.test.test_manipulation.test_delete.
test_prune_unused_reactions_output_type
(model: Model) → None[source]¶ Test the output type of unused reactions pruning.
-
cobra.test.test_manipulation.test_delete.
test_prune_unused_rxns_functionality
(model: Model) → None[source]¶ Test the sanity of unused reactions pruning.
-
cobra.test.test_manipulation.test_delete.
_find_gene_knockout_reactions_fast
(m: Model, gene_list: List[Gene]) → List[Reaction][source]¶ Quickly find gene knockout reactions.
-
cobra.test.test_manipulation.test_delete.
_get_removed
(m: Model) → Set[str][source]¶ Get trimmed reactions.
-
cobra.test.test_manipulation.test_delete.
_gene_knockout_computation
(m: Model, gene_ids: List[str], expected_reaction_ids: List[str]) → None[source]¶ Compute gene knockout.