-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated manipulation2 (#1208)
* removed removed get_compiled_gene_reaction_rules * added knock_out_model_genes removed find_gene_knockout_reactions from delete.py removed _find_gene_knockout_reactions_fast, _gene_knockout_computation, _get_removed from test_delete.py * Removed references to delete_model_genes() and undelete_model_genes * removed trimmed from model.py since it is no longer used * added deprecation warning * Removed references to delete_model_genes() and undelete_model_genes * fix according to comments * some linting and tidying * fix knock_out_model_genes() * Apply suggestions from code review Co-authored-by: Moritz E. Beber <midnighter@posteo.net> * fix typing and use of set * list comprehension * fixed lint problems * simplified knock_out_model_genes() Added tests to make sure that int and cobra.Gene will work as well Co-authored-by: uri.akavia <uri.akavia@mcgill.ca> Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
- Loading branch information
1 parent
f5a1b96
commit b628572
Showing
8 changed files
with
162 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
from .annotate import add_SBO | ||
from .delete import ( | ||
delete_model_genes, | ||
find_gene_knockout_reactions, | ||
get_compiled_gene_reaction_rules, | ||
knock_out_model_genes, | ||
prune_unused_metabolites, | ||
prune_unused_reactions, | ||
remove_genes, | ||
undelete_model_genes, | ||
) | ||
from .modify import escape_ID, rename_genes | ||
from .validate import check_mass_balance, check_metabolite_compartment_formula |
Oops, something went wrong.