Skip to content

[AGIPD] Fix checking ccv_variant condition for AGIPD

Karim Ahmed requested to merge fix/agipd_variant into master

Description

I realized that the condition for checking the ccv_variant is wrong in agipdlib.py

It's a dictionary with a key for constant names. I was checking if the whole dict is 0.

The check is fixed. Before this fix if a correction for old data was requested. No sanitization was done.

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

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

Checklist:

Reviewers

@hammerd @roscar

Merge request reports