Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty value in editor.node_editor.nodes #47

Open
yilinxia opened this issue Mar 20, 2023 · 1 comment
Open

Empty value in editor.node_editor.nodes #47

yilinxia opened this issue Mar 20, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@yilinxia
Copy link
Member

yilinxia commented Mar 20, 2023

When using "run all cells" in Jupyter Lab
cell1

import jupyterlab_nodeeditor as jlne
sample_3 = "./sample_models/sample_3.yml"
photosynthesis =  "./sample_models/photosynthesis.yml"

cell2

editor=jlne.yml_trans([sample_3, photosynthesis],show_instance=True)
editor

cell3

editor_py = editor.node_editor.nodes
editor_py[0].controls[0].editor.editorConfig.keys()

the result is dict_keys([])

Screen-Recording-2023-03-20-at-5

however, if we run the code cell by cell, it will work properly

Screen-Recording-2023-03-20-at-5

@yilinxia
Copy link
Member Author

low priority issue...

@yilinxia yilinxia added the wontfix This will not be worked on label Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant