Skip to content

Add GUI code to tutorial snippets#164

Merged
GDYendell merged 5 commits intoDiamondLightSource:mainfrom
JamesDoingStuff:tutorial_changes
Jul 1, 2025
Merged

Add GUI code to tutorial snippets#164
GDYendell merged 5 commits intoDiamondLightSource:mainfrom
JamesDoingStuff:tutorial_changes

Conversation

@JamesDoingStuff
Copy link
Contributor

  • Adds GUI creation code to the tutorial snippets so that the demo.bob file is produced as expected. This is added as a new snippet (snippet05.py).
  • Also makes small clarifications about the simulated temperature controller and why the last line gets commented out.

Note: After adding in the new snippet, I shifted the other snippet numbers to match. Git didn't like this much. So, while it may look like I made significant changes to all the snippets, this is actually just a consequence of the renaming. The only actual content changes are the gui creation lines towards the end of each one.

@codecov
Copy link

codecov bot commented Jun 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@a281942). Learn more about missing BASE report.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #164   +/-   ##
=======================================
  Coverage        ?   92.35%           
=======================================
  Files           ?       40           
  Lines           ?     1962           
  Branches        ?        0           
=======================================
  Hits            ?     1812           
  Misses          ?      150           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@GDYendell GDYendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JamesDoingStuff! Just a few minor changes.

@JamesDoingStuff JamesDoingStuff requested a review from GDYendell July 1, 2025 10:20
@GDYendell GDYendell merged commit 77189df into DiamondLightSource:main Jul 1, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants