Skip to content

Commit

Permalink
owpolar: revert changes from e29fcf7
Browse files Browse the repository at this point in the history
  • Loading branch information
callumgassner committed Aug 25, 2022
1 parent 00a4100 commit bf3ccae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions orangecontrib/spectroscopy/widgets/owpolar.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,16 +784,11 @@ def commit(self):
else:
sorted_data = self.sorted_data

self.setInvalidated(True)
self.setReady(False)

self.start(run, sorted_data, self.feats, self.alpha, self.map_x,
self.map_y, self.invert_angles, self.polangles,
self.average, self.angles)

def on_done(self, result: Results):
self.setInvalidated(False)
self.setReady(True)
if result is None:
self.Outputs.polar.send(None)
self.Outputs.model.send(None)
Expand All @@ -805,8 +800,7 @@ def on_done(self, result: Results):
self.Outputs.model.send(result.model)

def on_partial_result(self, result):
self.setInvalidated(False)
self.setReady(True)
pass

def onDeleteWidget(self):
self.shutdown()
Expand Down

0 comments on commit bf3ccae

Please sign in to comment.