Skip to content

Fix simulation.clear_cache() crashes#105

Open
chraibi wants to merge 3 commits intoFireDynamics:masterfrom
chraibi:clear_cache
Open

Fix simulation.clear_cache() crashes#105
chraibi wants to merge 3 commits intoFireDynamics:masterfrom
chraibi:clear_cache

Conversation

@chraibi
Copy link

@chraibi chraibi commented Mar 24, 2026

fixes #104

Copilot AI review requested due to automatic review settings March 24, 2026 09:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an acceptance test intended to reproduce Issue #104, where Simulation.clear_cache() crashes when the simulation includes “line DEVC” devices (expanded into lists of Device objects).

Changes:

  • Update test_devc to construct Simulation using a path relative to the test file location.
  • Add a new acceptance test that calls clear_cache() for a case containing line DEVC devices.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chraibi chraibi changed the title Add test to reproduce bug Fix simulation.clear_cache() crashes Mar 24, 2026
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.

[Bug]: simulation.clear_cache() crashes if simulation contains line DEVC devices

2 participants