Skip to content

Fix Bubbler4 scalar replacement_times and validate efficiencies - #12

Merged
jhdark merged 6 commits into
pathsim:masterfrom
jhdark:fix-bubbler
Nov 3, 2026
Merged

jhdark merged 6 commits into
pathsim:masterfrom
jhdark:fix-bubbler

Conversation

@jhdark

@jhdark jhdark commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #9, for #3. Not ready to merge: this branch is still built on the earlier stack and will be rebased onto #9 once it merges. Review fc4ac16 for the actual change.

  • Fixes a crash with a scalar replacement_times (TypeError: object of type 'float' has no len()); also accepts numpy scalars and tuples.
  • Validates conversion_efficiency and vial_efficiency in [0, 1].
  • Adds Inputs/Outputs docstring sections and removes an unused import.
  • New tests, including a full-simulation conservation check.

jhdark and others added 3 commits November 3, 2026 11:50
Co-authored-by: Milan Rother <milan.rother@gmx.de>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
@jhdark jhdark changed the title Fix bubbler Fix Bubbler4 scalar replacement_times and validate efficiencies Nov 3, 2026
@jhdark
jhdark merged commit b04b74f into pathsim:master Nov 3, 2026
5 checks passed
@jhdark
jhdark deleted the fix-bubbler branch November 3, 2026 21:23
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