Skip to content

Commit

Permalink
It's all about that rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jun 4, 2021
1 parent 37cd8c8 commit b63be85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jdaviz/configs/imviz/plugins/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class BlinkOnce(Tool):
tool_tip = ('Click on this button to display the next image, '
'or you can also press the "b" key anytime')

def __init__(self, viewer, **kwargs):
super().__init__(viewer, **kwargs)

def activate(self):
self.viewer.blink_once()

Expand Down Expand Up @@ -62,6 +59,7 @@ def activate(self):
if (link.data1 is existing_link.data1
and link.data2 is existing_link.data2):
exists = True
break
if not exists:
self.viewer.session.data_collection.add_link(link)

Expand Down

0 comments on commit b63be85

Please sign in to comment.