Skip to content

Fix issues in latest Hyperion version#512

Merged
DominicOram merged 4 commits intomainfrom
hyperion_1343_fix_v9.2.0
May 16, 2024
Merged

Fix issues in latest Hyperion version#512
DominicOram merged 4 commits intomainfrom
hyperion_1343_fix_v9.2.0

Conversation

@DominicOram
Copy link
Contributor

See DiamondLightSource/hyperion#1343

Instructions to reviewer on how to test:

  1. Confirm tests pass, including new one

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards
  • If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly

Copy link
Contributor

@olliesilvester olliesilvester left a comment

Choose a reason for hiding this comment

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

Looks good. One optional comment

"""
filename_str = self.filename.get()
directory_str = self.directory.get()
directory_str = Path(self.directory.get()) # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Maybe misleading variable name since it's type Path not string. Also, nothing complains for me if I remove the type ignore

@codecov
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.44%. Comparing base (5f375ef) to head (91dfffa).
Report is 20 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #512       +/-   ##
===========================================
- Coverage   92.78%   82.44%   -10.35%     
===========================================
  Files          99       98        -1     
  Lines        3769     3719       -50     
===========================================
- Hits         3497     3066      -431     
- Misses        272      653      +381     

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

@DominicOram DominicOram merged commit 6518b35 into main May 16, 2024
@DominicOram DominicOram deleted the hyperion_1343_fix_v9.2.0 branch May 16, 2024 12:40
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