Skip to content

Read CatRange predictions returned as class ranges - #2

Merged
edkerk merged 1 commit into
developfrom
fix/okp-catrange-ranges
Oct 17, 2026
Merged

edkerk merged 1 commit into
developfrom
fix/okp-catrange-ranges

Conversation

@edkerk

@edkerk edkerk commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Copied from SysBioChalmers/GECKO#487, opened by edkerk on 2026-10-15.

CatRange predicts a class of kcat values. OpenKineticsPredictor returns it as the class range (10 to 100 s^-1) in the column Predicted kcat range: kcat (1/s), and readOpenKineticsPredictorOutput read that text as NaN, dropping every CatRange prediction.

A range is now read as its geometric midpoint, or half the upper bound for the class starting at 0 (0 to 1e-08 s^-1 gives 5e-9). Plain numbers are read as before. The list of available predictors in submitOpenKineticsPredictor now includes CatRange, OmniESI, OmniESI-O2DENet and TurNuP.

testReadOpenKineticsPredictorCatRange_tc0069 reads a CatRange result. All 61 unit tests pass (MATLAB R2023a, RAVEN develop3, GLPK).

The same fix for geckopy: CompMetEng/geckopy#62

CatRange predicts a class of kcat values, which OpenKineticsPredictor
returns as its range ('10 to 100 s^-1') in the column 'Predicted kcat
range: kcat (1/s)'. readOpenKineticsPredictorOutput read that text as
NaN and dropped every CatRange prediction. It now reads a range as its
geometric midpoint, or half the upper bound for the class starting at 0.
The list of available predictors is updated.

Original-commit: SysBioChalmers/GECKO@a8292f9
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Unit test results

61 tests   61 ✅  11s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 5f9b88d.

♻️ This comment has been updated with latest results.

@edkerk
edkerk force-pushed the fix/okp-catrange-ranges branch from 4910813 to 5f9b88d Compare October 16, 2026 23:52
@edkerk
edkerk merged commit 8030ed9 into develop Oct 17, 2026
3 checks passed
@edkerk
edkerk deleted the fix/okp-catrange-ranges branch October 17, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant