Closed alexandrupaler closed 4 years ago
Now that pybind can read from vector of strings, I don't need tempfiles anymore.
Yes, but this is unfortunate, because the last eight hours I designed everything around tmpfiles. Please keep the interface consistent for the moment, because it makes a merge very difficult by the deadline.
I understand, I just needed time to complete the interface. And again, I'm sorry you had to rewrite part of your code.
This is fixed in the patch I uploaded in #289. mkstemp isn't optimal for this use case.
The
simulation_test.py
script uses temporary files. https://github.com/ngnrsaa/qflex/blob/c7038b0e06d2f9312a3b5db41dcd9a244f276220/tests/python/simulation_test.py#L268The documentation of mkstemp mentions that the user is responsible for removing the files. The handles are not removed with something like below
Is this intended behaviour?