Skip to content

Open GUI in read-only mode #3651

Answered by Rfaelv
Rfaelv asked this question in Q&A
Jan 10, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @mikerife, thanks for the reply. I made a script to share with my co-researchers and I would like to allow them to open the GUI right before the analysis began to visualize and check the model, but without the permission to edit it.
By making small changes to the open_gui method I achieved this. When the parameter inplace is False the current code is defined to resume after closing the GUI based on the database in the temp directory. I changed the code to always resume based on the database of the run_locale directory. In this way, if inplace=True the changes made through the GUI are considered and if inplace=False doesn't. Then with inplace=False the GUI opening behaves like in read-o…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Rfaelv
Comment options

Answer selected by mikerife
@mikerife
Comment options

@germa89
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants