espresso icon indicating copy to clipboard operation
espresso copied to clipboard

bump `zndraw` version

Open PythonFZ opened this issue 1 year ago • 4 comments

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.

PythonFZ avatar Sep 12 '24 07:09 PythonFZ

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?

jngrad avatar Sep 12 '24 07:09 jngrad

Any updates on this?

PythonFZ avatar Sep 23 '24 06:09 PythonFZ

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.

Frieda95 avatar Sep 23 '24 07:09 Frieda95

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.

PythonFZ avatar Sep 23 '24 07:09 PythonFZ

duplicate

RudolfWeeber avatar Mar 16 '25 16:03 RudolfWeeber