Skip to content
Snippets Groups Projects

[AGIPD] as_single_value instead of get_run_value

Merged Karim Ahmed requested to merge fix/get_run_value_AGIPDCtrl into master

Using CONTROL source to read AGIPD conditions using as_single_value.

Description

Replacing get_run_value with as_single_value to read all conditions, except the bias_voltage.

To unify the method for reading the parameter conditions and not fail silently if there is a bug in the CONTROL values.

Except for the bias_voltage, which is known of wrong CONTROL values for AGIPD@HED.

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@calibration

Edited by Karim Ahmed

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thanks for the MR, LGTM.

  • Philipp Schmidt approved this merge request

    approved this merge request

  • 237 236 'integrationTime.value' in self.run_dc.keys_for_source(
    238 237 self.ctrl_src)
    239 238 ):
    240 return int(self.run_dc.get_run_value(
    241 self.ctrl_src, 'integrationTime.value'))
    239 return int(self.run_dc[
    240 self.ctrl_src, 'integrationTime.value'].as_single_value())
  • Karim Ahmed added 1 commit

    added 1 commit

    • cb97275d - no need to convert bias_voltage value to int, Also remove unneeded .value for keys

    Compare with previous version

  • Karim Ahmed resolved all threads

    resolved all threads

  • Karim Ahmed added 58 commits

    added 58 commits

    • cb97275d...d09e3f59 - 55 commits from branch master
    • 3625b297 - get_run_value instead of as_single_value
    • 27d82dc7 - change from get_run_value to as_single_value
    • bf6c42d5 - no need to convert bias_voltage value to int, Also remove unneeded .value for keys

    Compare with previous version

  • Karim Ahmed added 1 commit

    added 1 commit

    • 2b656a0b - no need to convert bias_voltage value to int, Also remove unneeded .value for keys

    Compare with previous version

  • merged

  • Karim Ahmed mentioned in commit f8321fe9

    mentioned in commit f8321fe9

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading