Hi there,
I am trying to create an application that runs openLCA "headless" through the olca-ipc Python API. I managed to host an IPC server from the Python console using Popen, which makes it possible to run LCA calculations from Python without having to open the openLCA Java application. The only step that still requires users to run openLCA is the moment the database is restored from a .zolca file.
Is it possible to restore/import a database from the API? I found the io modules on Github, but don't see yet how they could be run from olca-ipc.
Related to this: currently, openLCA puts restored databases in the home directory. Is it possible to control this behaviour as well, and set the folder in which the databases restored?
Thanks in advance!