Skip to content

implement assisted_window.py

Zhang, Chen requested to merge gzi-assisted_window into next

Created by: gecage952

Addresses issue 385. One thing to point is that the config_dict doesn't initially show up in the json_editor in base_window.py. However, it is sent correctly to the workflow engine, it's purely visual, so I was wondering if you know how to fix that issue.

To test I followed the same process as here: https://github.com/ornlneutronimaging/iMars3D/pull/205 To test the ui manually, make sure you testing environment can see /HFIR/CG1D/IPTS-25777/ (on analysis or via sshfs), use the following code

import panel as pn
from imars3d.ui.main import MainWindow

pn.extension(
    "vtk",  # for the 3D viewer
    "terminal",  # or the console
    "jsoneditor",  # for config viewer
    nthreads=0,
    notifications=True,
)
main_window = MainWindow()
main_window  # or pn.panel(main_window) or main_window.show() or main_window.servable()

The instrument should be CG1D and the IPTS number should be 25777. Set the experiment name to iron_man_8cz_py310.

Merge request reports