diff --git a/orangecontrib/spectroscopy/widgets/owpls.py b/orangecontrib/spectroscopy/widgets/owpls.py index b1d44e61f..e1230bf35 100644 --- a/orangecontrib/spectroscopy/widgets/owpls.py +++ b/orangecontrib/spectroscopy/widgets/owpls.py @@ -27,11 +27,14 @@ class Outputs(OWBaseLearner.Outputs): class Warning(OWBaseLearner.Warning): sparse_data = Msg('Sparse input data: default preprocessing is to scale it.') + deprecated = Msg('The PLS widget is deprecated and will be removed in the future.\n' + 'You can use a PLS widget in the core Orange instead.') n_components = Setting(2) max_iter = Setting(500) def add_main_layout(self): + self.Warning.deprecated() self.optimization_box = gui.vBox( self.controlArea, "Optimization Parameters")