Repository navigation
Conversation
GECKO removed truncateValues, and no function in geckopy calls truncate_values. update_prot_pool was never ported and merge_dlkcat_and_fuzzy_kcats is already a deprecated alias of merge_kcats; a test now checks its warning.
kcats_from_dlkcat takes via ('okp', 'file' or 'docker') and returns
(kcat_list, done) as kcats_from_okp does. update_kcat_sources gathers the
dlkcat source through OKP when data/DLKcat.tsv is missing instead of
requiring Docker.
geckopy init writes a .gitignore with data/okpApiKey.txt in a new project and the repository ignores okpApiKey.txt. The module help of the OKP functions said the file was git-ignored, which was not the case.
This was referenced Nov 12, 2026
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Python side of CompMetEng/GECKO#33: GECKO 3 steps that GECKO 4 replaced leave the usual workflow, and geckopy follows MATLAB where the two differed. Parity ledger: CompMetEng/raven-gecko-parity#155. Guide: CompMetEng/gecko-docs#44.
upgrade_projectreports each one in a script with its replacement.run_dlkcat,read_dlkcat_output,write_dlkcat_input: replaced bykcats_from_dlkcat.apply_custom_kcats: replaced bydata/kcats/custom.tsv.get_kcat_across_isozymes,get_standard_kcat,select_kcat_value,merge_dlkcat_and_fuzzy_kcats,get_ec_from_database,get_ec_from_gem,sigma_fitter,constrain_flux_data: aliases offill_kcats_from_isozymes,assign_standard_kcat,apply_kcat_list,merge_kcats,fill_eccodes_from_database,fill_eccodes_from_gem,fit_sigmaandapply_flux_data_constraints.truncate_values,find_max_value: nothing in geckopy called them, and GECKO 4 has no counterpart.collect_kcats: raisesValueErroron a project that has only the GECKO 3data/customKcats.tsv, before it changes the model, and namesconvert_custom_kcats.kcats_from_dlkcat: optionvia("okp","file","docker"); withoutdata/DLKcat.tsvit predicts with OpenKineticsPredictor. It returns(kcat_list, done).kcats_from_okpis the entry point.okp.method,[kcat_sources.okp] methods: the default is KinForm-H alone (was CataPro, and eight methods for the presets).[kcat_sources.<name>]: a table replaced the preset's settings for that source; it now overrides only the keys it sets.[uniprot] id,[kegg] id: defaulted to the identifiers of Saccharomyces cerevisiae; they are now empty. A missing UniProt identifier withoutdata/uniprot.tsvraises an error; an empty KEGG identifier skips KEGG with a warning.make_ec_model: did not load UniProt and KEGG data when none was given; it now loads them with the adapter's settings and downloads a missing file, as MATLABloadDatabases.geckopy uniprot-download,download_uniprot,load_uniprot_tsv: kept only reviewed entries, against the adapter defaultuniprot.reviewed = false;--reviewed-onlylimits to reviewed entries.collect_kcats: returned the model with the isozyme kcat constraints already applied, unlike MATLAB.apply_complex_data: reported one complex proposal per reaction where MATLAB reports two.get_complex_data: without a taxonomic id it now warns and returns[].level_complex_concs: optionfamilies, as MATLAB.calculate_f_factor: returned 0 without proteomics data; it now returns 0.5 with a warning, as MATLAB, and reads the project'sdata/paxDB.tsvwhen no data are given.fit_sigma: accepted a target growth rate of 0 or below.relax_proteomics_greedy: raised the iteration error even when the last allowed relaxation reached the target; it returnsconverged=Falsewhen the candidates run out.get_conc_control_coeffs: continued after a first solve that was not optimal.ec_fseof: returned no targets silently when production had no range to scan; it now raisesValueError. Defaultn_stepsis 16, target labels are OE/KD/KO, andgene_targetsreconciles actions and tests essentiality as MATLABecFSEOF.EcFSEOFResultis exported.upgrade_project: names the replacement of each removed function..gitignore: ignoresokpApiKey.txt.docs/relaxation_methods.md: corrected. The low-level kcat functions are marked as such.