espressomd / espresso

The ESPResSo package
https://espressomd.org
GNU General Public License v3.0
230 stars 187 forks source link

bump `zndraw` version #4993

Open PythonFZ opened 2 months ago

PythonFZ commented 2 months ago

For the MLIP https://github.com/espressomd/espresso/pull/498 tutorial we need https://github.com/zincware/ZnDraw/releases/tag/v0.4.7 to visualize the energies alongside the system.

jngrad commented 2 months ago

We tried running 0.4.7 two weeks ago and it wasn't working properly. I don't remember the specifics. @Frieda95 do you remember which issue we experienced?

PythonFZ commented 1 month ago

Any updates on this?

Frieda95 commented 1 month ago

As far as I remember, ZnDraw wouldn't work if its running on more than one server. The visualisation panel shows a white empty screen. So every time user has to relaunch jupyter notebook to run a new tutorial that involves Zndraw, to ensure its proper functioning.

PythonFZ commented 1 month ago

As far as I remember, ZnDraw wouldn't work if its running on more than one server.

Does this only happen with the newest release or isn't this also present in the version currently intended for the tutorial? ZnDraw was not designed with running the actual server inside Notebooks. Paul did a great job realizing this but there are still some drawbacks. Ideally, the server is run in an independent process via zndraw --port XXXX and then the UI is accessed within the Notebook. In this setup zndraw can handle as many connections as required.