Skip to content

Commit

Permalink
PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmucha committed Nov 13, 2024
1 parent 84920b8 commit e7ef2ce
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions basil/HL/iseg_hv.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_current_limit(self):
int(self._get_set_property(prop="get_current_limit")) / 100.0 * float(self.I_MAX[:-2])
)

def set_current_trip(self, resolution="mA"):
def get_current_trip(self, resolution="mA"):
"""
Read current trip/limit, if 0 -> no trip
Expand Down Expand Up @@ -475,14 +475,18 @@ def off(self):
def get_on(self):
return "0" if self.get_module_status()[4] == "1" else "1"

def set_voltage_range(self): ... # Not implemented
def set_voltage_range(self): # Not implemented
...

def set_current(self): ... # Not implemented
def set_current(self): # Not implemented
...

def source_current(self): ... # Not implemented

def soruce_volt(self): ... # Not implemented
def source_current(self): # Not implemented
...

def soruce_volt(self): # Not implemented
...

@property
def UNIT_NUMBER(self):
return self.identifier().split(";")[0]
Expand All @@ -499,7 +503,7 @@ def V_MAX(self):
def I_MAX(self):
return self.identifier().split(";")[3]

##### BEWLOW DEPRECATED #####
#### BEWLOW DEPRECATED ####

@property
def hv_on(self):
Expand Down

0 comments on commit e7ef2ce

Please sign in to comment.