Commit 6ecb3cd2 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Implements rs_check

Showing with 1 addition and 1 deletion
+1 -1
...@@ -169,7 +169,7 @@ class MuxAbstract(ABC): ...@@ -169,7 +169,7 @@ class MuxAbstract(ABC):
# the full voltage of the DPS # the full voltage of the DPS
if 'A' in elec_dict.keys() and 'B' in elec_dict.keys() and 'M' in elec_dict.keys() and 'N' in elec_dict.keys(): if 'A' in elec_dict.keys() and 'B' in elec_dict.keys() and 'M' in elec_dict.keys() and 'N' in elec_dict.keys():
if bypass_check: if bypass_check:
self.exec_logger.debugg(f'Bypassing :{bypass_check}') self.exec_logger.debug(f'Bypassing :{bypass_check}')
elif (np.in1d(elec_dict['M'], elec_dict['A']).any() # noqa elif (np.in1d(elec_dict['M'], elec_dict['A']).any() # noqa
or np.in1d(elec_dict['M'], elec_dict['B']).any() # noqa or np.in1d(elec_dict['M'], elec_dict['B']).any() # noqa
or np.in1d(elec_dict['N'], elec_dict['A']).any() # noqa or np.in1d(elec_dict['N'], elec_dict['A']).any() # noqa
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment