Skip to content

auto-triage: no-bio1 condition returns failed dict instead of raising - #8

Draft
jplfaria wants to merge 1 commit into
mainfrom
auto-triage/issue-36-no-bio1-returns-failed
Draft

jplfaria wants to merge 1 commit into
mainfrom
auto-triage/issue-36-no-bio1-returns-failed

Conversation

@jplfaria

@jplfaria jplfaria commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Fixes ModelSEED/modelseed-api-ops#36. Root cause: tasks.py:747 raises RuntimeError for a user-input condition (no bio1 reaction in reconstructed model), but all other graceful-failure paths in reconstruct() return a dict with status=failed. Fix: change raise RuntimeError to return a failed-status dict. This branch adds a regression test in tests/unit/test_reconstruct_bio1.py; the tasks.py fix (lines 744-753) and job_scripts/reconstruct.py guard need to be applied manually. See issue comment for the exact diff.

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