Skip to content

Unify csimulator error handling#93

Merged
jrfaeder merged 2 commits into
RuleWorld:mainfrom
wshlavacek:csimulator-error-handling
May 12, 2026
Merged

Unify csimulator error handling#93
jrfaeder merged 2 commits into
RuleWorld:mainfrom
wshlavacek:csimulator-error-handling

Conversation

@wshlavacek
Copy link
Copy Markdown
Contributor

Summary

  • Replace ad hoc csimulator print and debug paths with structured errors and logger calls.
  • Add focused regression coverage for invalid model input, wrapper initialization failures, and unresolved species counts.

Testing

  • uv run python -m pytest -q tests/test_csimulator_errors.py
  • uvx black --check bionetgen/core/exc.py bionetgen/simulator/csimulator.py tests/test_csimulator_errors.py

@jrfaeder jrfaeder merged commit 74fb8e4 into RuleWorld:main May 12, 2026
17 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.

2 participants