Skip to content

Commit

Permalink
fix: ignore missing IDs when highlighting ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ElpadoCan committed Nov 20, 2024
1 parent b69c3a9 commit 5f1bc80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cellacdc/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -23244,7 +23244,11 @@ def highlightHoverIDsKeptObj(self, x, y, hoverID=None):
return

posData = self.data[self.pos_i]
objIdx = posData.IDs_idxs[hoverID]
try:
objIdx = posData.IDs_idxs[hoverID]
except KeyError as err:
return

obj = posData.rp[objIdx]
self.goToZsliceSearchedID(obj)

Expand Down

0 comments on commit 5f1bc80

Please sign in to comment.