Skip to content

Unify csimulator error handling#93

Open
wshlavacek wants to merge 2 commits into
RuleWorld:mainfrom
wshlavacek:csimulator-error-handling
Open

Unify csimulator error handling#93
wshlavacek wants to merge 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

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