SasView / sasmodels

Package for calculation of small angle scattering models using OpenCL.
BSD 3-Clause "New" or "Revised" License
15 stars 27 forks source link

Ensure that the dll tests clean up after themselves #525

Closed llimeht closed 1 year ago

llimeht commented 1 year ago

One of the model tests (direct_model.py::test_reparameterize) leaves behind stray files from the compiled DLLs, this PR tries to cleanup.

llimeht commented 1 year ago

Cache-invalidation and cleanup are always complicated. It's not entirely clear to me what the correct behaviour is for the sasmodels cache: what gets cached, what is "prepopulated" into the cache, what is not cached, what cleans out the cache as it grows forever...

Figuring out the use cases and the requirements might be a good thing for a separate discussion.