-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add a GUI script to the fuel cycle example #192
Conversation
…o terminates the example if the tritium in storage ever reaches zero
I wasn't sure the right syntax to point to the scripts directory, where I threw the GUI, from the documentation. That may need to be fixed. |
Job Documentation, step Sync to remote on fcb6f11 wanted to post the following: View the site here This comment will be updated on new commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding a new way to utilize the fuel cycle example! I have a few requests based on my initial review.
I see we've got the script tested now - great! I did show this to PC late last week and noticed that it doesn't handle differing screen resolutions well. It was looking great on my ultrawide display at work, but on my local MacBook display or on our conference room display, it was cutting off the lower parameter adjustment fields, the run buttons, the bottom portion of the rendered plot, as well as the figure view adjustment buttons. I then wasn't able to re-size or refresh this after the window completed rendering for the first time. How easy or difficult would this be to fixup/add and make this more flexible for more systems? |
I've made some changes to address the resizing issue. I don't think we'll be able to get a truly modern interface for this as long as we're using tkinter, but if we need to move to an HTML/CSS based GUI that'll be a weekend project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested window resizing - works much better on my laptop display! Thanks for fixing that. I think we're good with the TK-based UI for now. We can re-evaluate based on user feedback in the future.
Only a couple more adjustments I would like to make, and then I think this is ready to be merged.
Co-authored-by: Casey Icenhour <cticenhour@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
This broke moose next https://civet.inl.gov/job/2524190/ |
@@ -7,4 +7,10 @@ | |||
csvdiff = 'fuel_cycle_out.csv' | |||
requirement = 'The system shall reproduce a consistent solution to an ODE system of equations modeling the tritium fuel cycle.' | |||
[] | |||
[gui] | |||
type = RunCommand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cticenhour please reach out for guidance on these more complex tests. RunCommand
is very versatile and also very dangerous when it comes to usability in installed binaries.
Skipped for now in #208 until a determination is made on how to handle this with installs |
Closes #191, also terminates the example if the tritium in storage ever reaches zero.