Skip to content

Commit

Permalink
Removed get pos printing (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored Sep 8, 2023
1 parent c0fdf8c commit 45728d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ephys_link/platforms/new_scale_manipulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_pos(self) -> com.PositionalOutputData:
self._z.CurPosition / MM_TO_UM,
self._z.CurPosition / MM_TO_UM,
]
com.dprint(f"[SUCCESS]\t Got position of manipulator {self._id}\n")
# com.dprint(f"[SUCCESS]\t Got position of manipulator {self._id}\n")
return com.PositionalOutputData(position, "")
except Exception as e:
print(f"[ERROR]\t\t Getting position of manipulator {self._id}")
Expand Down
2 changes: 1 addition & 1 deletion src/ephys_link/platforms/sensapex_manipulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_pos(self) -> com.PositionalOutputData:
"""
try:
position = [axis / MM_TO_UM for axis in self._device.get_pos(1)]
com.dprint(f"[SUCCESS]\t Got position of manipulator {self._id}\n")
# com.dprint(f"[SUCCESS]\t Got position of manipulator {self._id}\n")
return com.PositionalOutputData(position, "")
except Exception as e:
print(f"[ERROR]\t\t Getting position of manipulator {self._id}")
Expand Down

0 comments on commit 45728d5

Please sign in to comment.