Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieAkeroyd committed Sep 24, 2024
1 parent 7598aba commit 8cdd889
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions galil_seci_checker/galil_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def doAxis(config: configparser.ConfigParser, galil: str, axis: str, skips: dict
seci_user_offset = config.getfloat(axisItem(axis, "user offset"), 0.0)
print(
f"INFO: {mn} seci home position {seci_home_pos} (apply: {apply_home}) "
"home offset {seci_home_offset} offset {seci_offset} user offset {seci_user_offset}"
f"home offset {seci_home_offset} offset {seci_offset} user offset {seci_user_offset}"
)
if not skips["offset"]:
if apply_home:
Expand Down Expand Up @@ -317,13 +317,13 @@ def doAxis(config: configparser.ConfigParser, galil: str, axis: str, skips: dict
if umax is not None and umax != float("inf"):
print(
f"user max defined as {umax} with soft max as {smax}, "
"will use lower value, check that is correct"
f"will use lower value, check that is correct"
)
smax = min(smax, umax)
if umin is not None and umin != float("-inf"):
print(
f"user min defined as {umin} with soft min as {smin}, "
"will use higher value, check that is correct"
f"will use higher value, check that is correct"
)
smin = max(smin, umin)
if smin > smax:
Expand Down

0 comments on commit 8cdd889

Please sign in to comment.