Skip to content

V2.1.1 minor bug fixes - #4

Merged
Chabname merged 4 commits into
mainfrom
v2.1.1-minor-bug-fixes
Aug 12, 2026
Merged

V2.1.1 minor bug fixes#4
Chabname merged 4 commits into
mainfrom
v2.1.1-minor-bug-fixes

Conversation

@Chabname

Copy link
Copy Markdown
Collaborator

This release bundles several fixes for crashes and incorrect results reported by users.

  • Fix a crash when running without a time limit set
  • Fix cases where the tool wrongly reported "no solution" for networks with transport-only metabolites
  • Fix a crash when the solver returned empty or incomplete output
  • Fix an argument error affecting the seed detection option
  • Metabolites needed for biomass production are now correctly proposed as possible seeds, even when their only producer was removed during network cleanup
  • seed2lp now gives a clear, actionable error message when the input SBML file predates version 3.x / lacks the Flux Balance Constraints (FBC) package, instead of crashing with a raw Python error. The message explains how to upgrade the model with cobrapy.

Closes #3

- Fix a crash when running without a time limit set
- Fix cases where the tool wrongly reported "no solution" for networks with transport-only metabolites
- Fix a crash when the solver returned empty or incomplete output
- Fix an argument error affecting the seed detection option
- Metabolites needed for biomass production are now correctly proposed as possible seeds, even when their only producer was removed during network cleanup
seed2lp used to crash with a raw Python error when run on a network
file older than the SBML Level 3 format. It now checks this upfront
and explains how to upgrade the file with cobrapy before continuing.

Fixes #3
The test files were renamed with a test_ prefix for pytest
auto-discovery, but the CI workflow still called them by their old
names and failed. Now it just runs pytest, which discovers them all.
@Chabname
Chabname merged commit 188f203 into main Aug 12, 2026
3 checks passed
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.

Error when working with an SBML file older than version 3.X

1 participant