-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUGFIX: Typos in GH workflow #54
Commits on Sep 11, 2022
-
Changes in the behavior of flake8 caused the test to fail. Adding W503 to the ignored errors fixes this. W503 is currently the recommended way according to PEP8.
Configuration menu - View commit details
-
Copy full SHA for e2d35da - Browse repository at this point
Copy the full SHA e2d35daView commit details
Commits on Apr 22, 2023
-
UPDATE: Repository use Ruff as new linter instead of flake8. Temporal
removal of mypy pre-commit hook UPDATE: Project updated to use pyproject.toml. Setup.py and mypy.ini removed. NEW: Installation dependency of escher is now optional. Users can install dependency to use Escher. This chance is can be seen in module pathway from subpackage pathway.
Configuration menu - View commit details
-
Copy full SHA for 5a876d6 - Browse repository at this point
Copy the full SHA 5a876d6View commit details -
First test of test_creation passing from refactor
UPDATE: subpackate parsing imports are not specific anymore. UPDATE: module kegg.py, bigg.py and biocyc.py include new functions parse_reaction_attributes and parse_metabolites_attributes. These function extract the main information for the data. Biocyc includes new function such reaction_str_from_xml, get_direction_from_xml. Kegg includes data_from_string. NEW: New module retrieval.py. This module is in charge of downloading data from the multiple databases and writing them into disk. Additionally, the parsing of the data to reactions and metabolites is also done by this module. UDPATE: cobramod.utils include new functions such convert_to_transport and is_compound
Configuration menu - View commit details
-
Copy full SHA for 2a96936 - Browse repository at this point
Copy the full SHA 2a96936View commit details
Commits on Apr 24, 2023
-
Main refactor of creation almost completed
UPDATE: removal of shebang for multiple modules that are not supposed to be run as scripts UPDATE: In bigg.py and kegg.py, few functions renamed (retrieve_kegg_genes, parse_genes) UPDATE: in core.creation.py, some functions renamed (metabolite_from_string, metabolite_from_data, convert_string_metabolite, string_to_reaction). Old functions commented. Main function from the module refactor to use new data type. Argumnets for multiple function updated to be optional. Only main function use kwargs. Main function refactor to be more concise and use new functions. FIX: in crossreferences.py, issue were the path that is a string, was not absolute. UPDATE: in genes.py, rename of function genes_to_reaction UPDATE: test_creation.py updated to use new functions. Some blocks were commented until new function in other modules are updated
Configuration menu - View commit details
-
Copy full SHA for 417b86f - Browse repository at this point
Copy the full SHA 417b86fView commit details
Commits on May 2, 2023
-
FIX: function create_object now passes to get_reaction the correct model
UPDATED: in extension.py, multiple reactions renamed e.g yield_reaction_from_list, find_problem, recursive_flux_test, non_zero_core, add_reactions_to_Pathway, remove_avoid_reactions, add_pathway_from_file, add_pathway_from_data, add_pathway_from_strings. Main core function add_function internally modified to use refactored reactions. add_pathway_from_data uses new data structure in retrieval.py. For multiple functions, arguments were updated to include optional arguments. UPDATED: in graph.py, function renamed to get_graph_dict, build_lineal_graph. Removal of old deprecated code REMOVED: module retrieval.py UPDATED: in parsing, kegg.py, bigg.py and biocyc.py have deprecated code removed. NEW: in retrieval.py, data can parse pathway information. Additionally, subdatabase from Biocyc can be used FIX: in utils.py, arrows for equations had the wrong bounds. New functions inform_new_sinks, reaction_is_minimize, confirm_sink FIX: in mapping.py, function uses correct name
Configuration menu - View commit details
-
Copy full SHA for e35e9a1 - Browse repository at this point
Copy the full SHA e35e9a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a445a92 - Browse repository at this point
Copy the full SHA a445a92View commit details
Commits on May 3, 2023
-
__init__.py includes custom imports
UPDATED: in retrieval.py. Requesting files from biocyc needs credentials. Credentials come from function in utils.py. Additionally, Data needs new argument "model_id" UPDATED: in crossreferences.py deprecated pandas function replaced UPDATED: in extension.py, function add_pathway_from_data now uses tuples instead of list. Tuples are used for the visualization of pathways UPDATED: in graph.py, function find_cycle refactor to make it simpler. Additionally, multiple funcitions had their types added. UPDATED: in pathway.py, reaction_strings does not need a cobra.Model UPDATED: in summary.py, function summmary uses filename as Optional argument BUGFIX: in bigg.py, when retrieving files, metabolites will come from "universal". UPDATED: multiple test updated to use new refactored functions
Configuration menu - View commit details
-
Copy full SHA for a82d394 - Browse repository at this point
Copy the full SHA a82d394View commit details
Commits on Jun 7, 2023
-
UPDATED: in creation.py, parsing of genes modified to be taken care of by parsing subpackage. This change applies to bigg, biocyc, kegg. For plantcyc and solcyc, this is also true and old code was either commented or removed UPDATED: data directory structure for solcyc modified
Configuration menu - View commit details
-
Copy full SHA for 0f7ad41 - Browse repository at this point
Copy the full SHA 0f7ad41View commit details
Commits on Jun 27, 2023
-
NEW: module db_version.py for data versioning
NEW: in utils, new function kegg_info_to_version moved from kegg.py NEW: in retrieval.py, Data class now expects a version. This is needed to comply with the previous data versioning. Additionally, when querying, a encoded identifier is needed to avoid problems with servers. All databases directory are uppercase. UPDATE: for plantcyc and solcyc, enconding also happens for gene information. Additionally, removing deprecated code. Problem with gene directory fixed. UPDATE: in kegg.py, old code removed. Function renamed to ko_generator. When querying genes, cobramod will try to obtain genes for reactions. Sometimes the query can be stopped server-side. To avoid this, we make sequentially requests instead of a large one FIXED: in biocyc.py, problem with nameless reactions fixed. UPDATE: in bigg.py, HTTPError raised from find_url now shows the model_id from the query. NEW: new module db_version.py. This module is in charge to track and compare the data versions for cobramod. It uses a Singleton as configurator. Methods come from original module base.py REMOVED: methods moved to db_version.py or removed
Configuration menu - View commit details
-
Copy full SHA for 61d9516 - Browse repository at this point
Copy the full SHA 61d9516View commit details -
Test updated to use new data and reflect changes
FIXED: Missing RNA parsing for Biocyc family databases
Configuration menu - View commit details
-
Copy full SHA for ab2e0e0 - Browse repository at this point
Copy the full SHA ab2e0e0View commit details
Commits on Aug 23, 2023
-
UPDATE: Message for Super pathways. Not supported
SuperpathwayWarning is now an Exception UPDATE:Enviroment updated to be OS-independent NEW: Test for PMN:ARA in test_creation.py
Configuration menu - View commit details
-
Copy full SHA for db8f9ac - Browse repository at this point
Copy the full SHA db8f9acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85826b7 - Browse repository at this point
Copy the full SHA 85826b7View commit details
Commits on Oct 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6ffb58d - Browse repository at this point
Copy the full SHA 6ffb58dView commit details
Commits on Nov 6, 2023
-
NEW: General Docstring updated
UPDATED: class Database in retrieval UPDATED: Refactor of plantcyc, solcyc modules to only gene parsing. Modules in parsing got their docstrings updated REMOVED: deprecated code in creation.py UPDATED: the module test.py, uses pkg_resouces to retrieve models from cobra
Configuration menu - View commit details
-
Copy full SHA for b0ca9d5 - Browse repository at this point
Copy the full SHA b0ca9d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d111fa2 - Browse repository at this point
Copy the full SHA d111fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 339f4a8 - Browse repository at this point
Copy the full SHA 339f4a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe2aacd - Browse repository at this point
Copy the full SHA fe2aacdView commit details
Commits on Dec 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a76e867 - Browse repository at this point
Copy the full SHA a76e867View commit details
Commits on Jan 15, 2024
-
ADDED: Memote-example files added UPDATED: jupyter files for all example updated to reflect new changes
Configuration menu - View commit details
-
Copy full SHA for bdca740 - Browse repository at this point
Copy the full SHA bdca740View commit details -
Configuration menu - View commit details
-
Copy full SHA for e47921b - Browse repository at this point
Copy the full SHA e47921bView commit details -
UPDATED: Test data 15.01.24 UPDATED: Test files use new changes. Deprecated code removed. Superpatwathway Warning changed to exception. Usage of pkgresources for textbook models
Configuration menu - View commit details
-
Copy full SHA for 616d0bf - Browse repository at this point
Copy the full SHA 616d0bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f3317a - Browse repository at this point
Copy the full SHA 1f3317aView commit details -
UPDATED: Escher maps in guides
REMOVED: old test. ADDED: missing figure
Configuration menu - View commit details
-
Copy full SHA for 870edc2 - Browse repository at this point
Copy the full SHA 870edc2View commit details
Commits on Jan 16, 2024
-
Removal deprecated functions in creation.py
UPDATED: in extension.py, fn yield_reaction_from list will only create an object if the object is not already in the model.
Configuration menu - View commit details
-
Copy full SHA for 14b93a9 - Browse repository at this point
Copy the full SHA 14b93a9View commit details
Commits on Feb 19, 2024
-
UPDATE: pre commit with ruff fmt and linting
Configuration menu - View commit details
-
Copy full SHA for e194873 - Browse repository at this point
Copy the full SHA e194873View commit details -
Tox now runs the test suite and not GH
UPDATE: .yml for test and publish updated with more recents actions NEW: changelog UPDATE: environment.yml includes all deps for developement UPDATE: in pyproject.toml, updating dependencies NEW: logging information is more human-friendly and includes colors
Configuration menu - View commit details
-
Copy full SHA for 2d29916 - Browse repository at this point
Copy the full SHA 2d29916View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88bd2d3 - Browse repository at this point
Copy the full SHA 88bd2d3View commit details -
Deprecation warning for Solcyc
UPDATED: Test data updated to 19.02.2024 REMOVED: Test with Solcyc data FIXED: some test for pathways used deprecated statements NEW: Alternative optional dependency 'dev' UPDATE: in Readme, badge with python versions
Configuration menu - View commit details
-
Copy full SHA for dd65eac - Browse repository at this point
Copy the full SHA dd65eacView commit details -
Refactor of logging for cobramod and visualization
UPDATE: debug_log has a new format. This applies to the visualization sub-package. REMOVE: long text in README.md for the abstract UPDATE: dev dependencies in pyproject.py includes docs build NEW: fun change_to_debug takes care of changing format for the tests UPDATE: all tests included this new function
Configuration menu - View commit details
-
Copy full SHA for 1f7746f - Browse repository at this point
Copy the full SHA 1f7746fView commit details -
warning.warn replaced by using logging module
UPDATED: Most modules uses rather the logging module than the warning module to print warnings REMOVED: AbbreviationWarning UPDATED: readthedocs.yml uses py310 UPDATED: typo in README UPDATED: Test instances modified to show changes
Configuration menu - View commit details
-
Copy full SHA for d6cbb8a - Browse repository at this point
Copy the full SHA d6cbb8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a0030 - Browse repository at this point
Copy the full SHA d7a0030View commit details -
Configuration menu - View commit details
-
Copy full SHA for abbb14b - Browse repository at this point
Copy the full SHA abbb14bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e8157 - Browse repository at this point
Copy the full SHA 66e8157View commit details -
UPDATED: docs sources REMOVED: make.bat UPDATED: sphinx-autoapi reverted in environment.yml and pyproject UPDATED: changing log lvevel for non-zero flux test and genes_to_reaction. Fixing typos in kegg.py and utils.py
Configuration menu - View commit details
-
Copy full SHA for a02b4e0 - Browse repository at this point
Copy the full SHA a02b4e0View commit details
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5194142 - Browse repository at this point
Copy the full SHA 5194142View commit details -
FIXED: missing warning for wrong chemical formula
Configuration menu - View commit details
-
Copy full SHA for 8c24c78 - Browse repository at this point
Copy the full SHA 8c24c78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffdf0b0 - Browse repository at this point
Copy the full SHA ffdf0b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3346be - Browse repository at this point
Copy the full SHA f3346beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bbd782 - Browse repository at this point
Copy the full SHA 1bbd782View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe5d23 - Browse repository at this point
Copy the full SHA 1fe5d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc28c49 - Browse repository at this point
Copy the full SHA dc28c49View commit details