Closed bdorney closed 5 years ago
The function getOHlist appears twice in two different files:
getOHlist
https://github.com/cms-gem-daq-project/reg_utils/blob/7b9cf050c63dae5f3a9b5803389130cff2f039fa/python/reg_interface/common/sca_utils.py#L119-L124
https://github.com/cms-gem-daq-project/reg_utils/blob/7b9cf050c63dae5f3a9b5803389130cff2f039fa/python/reg_interface/common/sca_common_utils.py#L6-L11
I can't see why this would be the case.
If there's no objection we should remove one of them. Which one...?
Function should only appear in one location.
Function appears in two locations.
I believe this is a post-refactoring remnants. Should be removed from sca_utils.py and sourced from sca_common_utils.py. Would you mind fixing it and test quickly?
sca_utils.py
sca_common_utils.py
Addressed by #46
Brief summary of issue
The function
getOHlist
appears twice in two different files:https://github.com/cms-gem-daq-project/reg_utils/blob/7b9cf050c63dae5f3a9b5803389130cff2f039fa/python/reg_interface/common/sca_utils.py#L119-L124
https://github.com/cms-gem-daq-project/reg_utils/blob/7b9cf050c63dae5f3a9b5803389130cff2f039fa/python/reg_interface/common/sca_common_utils.py#L6-L11
I can't see why this would be the case.
If there's no objection we should remove one of them. Which one...?
Types of issue
Expected Behavior
Function should only appear in one location.
Current Behavior
Function appears in two locations.
Your Environment