Closed Haitham-ghaida closed 1 year ago
Thanks Haitham, very much appreciated!
This won't be published as a new release for a bit, as I am working with @Cerebrovinny to clean up the current state of this repo, but I will push it out as soon as we have a stable release!
I've modified the datapackage method to ensure proper management of ZipFS resources. The change involves using a with statement to handle the opening and closing of ZipFS instances. This aims to resolve the "Too Many Open Files" error encountered during extensive operations, such as Monte Carlo simulations in LCA calculations.
Modified code
to
I conducted an extensive manual testing process rather than traditional unit testing. I ran various LCA calculations using the entire library to validate the integrity and functionality of the modified method. The tests confirmed that the "Too Many Open Files" error was resolved without impacting the performance or output.
157