Skip to content

Fix various bugs and leaks across the codebase#411

Open
jschueller wants to merge 2 commits into
modelon-community:masterfrom
jschueller:misc
Open

Fix various bugs and leaks across the codebase#411
jschueller wants to merge 2 commits into
modelon-community:masterfrom
jschueller:misc

Conversation

@jschueller
Copy link
Copy Markdown
Contributor

@jschueller jschueller commented May 27, 2026

  • Add missing rtol definition in fmi_bouncing_ball_native.py (NameError)
  • Fix x1 < y0 -> x1 < x0 typo in plot_gui.py zoom logic
  • Close file handles in ResultCSVTextual and ResultDymolaTextual readers
  • Store self._file immediately after opening in ResultWriterDymola
  • Fix trailing os.pathsep in list_to_string
  • Remove duplicate parse_xml_log import in log/init.py
  • Use cls instead of self in classmethod get_default_options
  • Remove dead fp variable in pyfmi/init.py
  • Fix comment typo in diagnostics.py
  • Close ZipFile after extraction in core.py
  • Wrap FMICSAlg.solve() in try/except to ensure simulation_end() on failure
  • Wrap exception gap after simulation_start() in AssimuloFMIAlg.init

- Add missing rtol definition in fmi_bouncing_ball_native.py (NameError)
- Fix x1 < y0 -> x1 < x0 typo in plot_gui.py zoom logic
- Close file handles in ResultCSVTextual and ResultDymolaTextual readers
- Store self._file immediately after opening in ResultWriterDymola
- Fix trailing os.pathsep in list_to_string
- Remove duplicate parse_xml_log import in log/__init__.py
- Use cls instead of self in @classmethod get_default_options
- Remove dead fp variable in pyfmi/__init__.py
- Fix comment typo in diagnostics.py
- Close ZipFile after extraction in core.py
- Wrap FMICSAlg.solve() in try/except to ensure simulation_end() on failure
- Wrap exception gap after simulation_start() in AssimuloFMIAlg.__init__
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