[AGIPD] Split AGIPDCtrl function for clear code and adding tests later.
1 unresolved thread
1 unresolved thread
Based on changes in MR : https://git.xfel.eu/detectors/pycalibration/-/merge_requests/652
This MR is a preparation for the next MR for adding unit tests https://git.xfel.eu/detectors/pycalibration/-/merge_requests/646
Description
-
Separate
get_gain_setting()
andget_acq_rate()
into two different functions which read the gain_settings and acquisition rate using two different methods. -
Small refactors:
- correct hint typing for
get_gain_mode()
- correct the doc string for
get_num_cells()
- correct the doc string for
AGIPDCtrl()
- correct hint typing for
How Has This Been Tested?
Relevant Documents (optional)
Types of changes
Checklist:
- I added tests where appropriate. In a separate MR: https://git.xfel.eu/detectors/pycalibration/-/merge_requests/646
Reviewers
Edited by Karim Ahmed
Merge request reports
Activity
Filter activity
added In Progress label
added 62 commits
-
69cc4336...1df6b681 - 59 commits from branch
master
- b3637440 - change from get_run_value to as_single_value
- 68bac535 - use get_run_value instead of as_single_value and split functions for adding tests later
- 6b3108d5 - fix function names
Toggle commit list-
69cc4336...1df6b681 - 59 commits from branch
removed In Progress label
added Waiting for review label
added 102 commits
-
40370cf4...9ddc981d - 99 commits from branch
master
- f4ca8b32 - change from get_run_value to as_single_value
- ab719031 - use get_run_value instead of as_single_value and split functions for adding tests later
- 501c3c98 - fix function names
Toggle commit list-
40370cf4...9ddc981d - 99 commits from branch
mentioned in merge request !646 (merged)
- Resolved by Karim Ahmed
@ahmedk Can this be merged?
changed milestone to %3.6.0
Thank you for the review @schmidtp
mentioned in commit 38661a7f
removed Waiting for review label
Please register or sign in to reply