Hello,
I've noticed when trying to run LIONESS in a new environment, that when using a new version of numpy (2.3+), the code failed because it couldn't find the np.ndarray.tostring() function. This function has been deprecated for a while as it had a behaviour identical to that of np.ndarray.tobytes(), and since version 2.3 it was completely removed. I suppose the fix should be as easy as replacing fromstring/tostring instances with frombytes/tobytes, but I haven't tested this yet (I downgraded numpy for now). I would be happy to draft a pull request if you want me to!
Best regards,
Ladislav