Skip to content

Commit

Permalink
blacking
Browse files Browse the repository at this point in the history
  • Loading branch information
meguiraun committed Oct 17, 2023
1 parent b9dc2df commit 7457f2c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mxcubecore/HardwareObjects/SardanaMotor.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,10 @@ def get_limits(self):
static_limits is returned
"""
try:
self._nominal_limits = (self.position_channel.info.minval,
self.position_channel.info.maxval
)
self._nominal_limits = (
self.position_channel.info.minval,
self.position_channel.info.maxval,
)
return self._nominal_limits
except Exception:
return (None, None)
Expand Down

0 comments on commit 7457f2c

Please sign in to comment.