Skip to content

Commit

Permalink
OWtSNE: Remove unused flag
Browse files Browse the repository at this point in the history
  • Loading branch information
VesnaT committed Dec 12, 2018
1 parent c938ffd commit e97662f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Orange/widgets/unsupervised/owtsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def __init__(self):
self.pca_data = None
self.projection = None
self.tsne_runner = None
self.__invalidated = True
self.__update_loop = None
# timer for scheduling updates
self.__timer = QTimer(self, singleShot=True, interval=1,
Expand Down Expand Up @@ -146,11 +145,6 @@ def _add_controls_start_box(self):
gui.separator(box, 10)
self.runbutton = gui.button(box, self, "Run", callback=self._toggle_run)

def set_data(self, data):
self.__invalidated = not (self.data and data and
np.array_equal(self.data.X, data.X))
super().set_data(data)

def check_data(self):
def error(err):
err()
Expand Down

0 comments on commit e97662f

Please sign in to comment.