Skip to content

Commit

Permalink
sets Pipette.previous_placeable to None every time instrument mover i…
Browse files Browse the repository at this point in the history
…s homed or retracted
  • Loading branch information
andySigler committed Feb 14, 2018
1 parent ec1f148 commit 58159c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/opentrons/instruments/pipette.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ def _pick_up_tip(
self._add_tip(
length=self.robot.config.tip_length[self.mount][self.type]
)
self.previous_placeable = None # no longer inside a placeable
self.robot.poses = self.instrument_mover.fast_home(
self.robot.poses, abs(plunge_depth))

Expand Down Expand Up @@ -1047,6 +1048,7 @@ def _home(mount):
self.robot.poses = self.instrument_actuator.home(
self.robot.poses)
self.robot.poses = self.instrument_mover.home(self.robot.poses)
self.previous_placeable = None # no longer inside a placeable

_home(self.mount)
return self
Expand Down

0 comments on commit 58159c5

Please sign in to comment.