diff --git a/orangecontrib/spectroscopy/widgets/owbin.py b/orangecontrib/spectroscopy/widgets/owbin.py index 04d758fe3..e31f9eb35 100644 --- a/orangecontrib/spectroscopy/widgets/owbin.py +++ b/orangecontrib/spectroscopy/widgets/owbin.py @@ -46,7 +46,7 @@ class Warning(OWWidget.Warning): settingsHandler = DomainContextHandler() - attrs = ContextSetting([None, None]) + attrs = ContextSetting([None, None], exclude_attributes=True) bin_shape = settings.Setting((1, 1)) square_bin = settings.Setting(True) diff --git a/orangecontrib/spectroscopy/widgets/owhyper.py b/orangecontrib/spectroscopy/widgets/owhyper.py index 6118e6be1..9f9f83182 100644 --- a/orangecontrib/spectroscopy/widgets/owhyper.py +++ b/orangecontrib/spectroscopy/widgets/owhyper.py @@ -623,8 +623,8 @@ class ImagePlot(QWidget, OWComponent, SelectionGroupMixin, ImageColorSettingMixin, ImageRGBSettingMixin, ImageZoomMixin, ConcurrentMixin): - attr_x = ContextSetting(None) - attr_y = ContextSetting(None) + attr_x = ContextSetting(None, exclude_attributes=True) + attr_y = ContextSetting(None, exclude_attributes=True) gamma = Setting(0) selection_changed = Signal() diff --git a/orangecontrib/spectroscopy/widgets/owsnr.py b/orangecontrib/spectroscopy/widgets/owsnr.py index 93ece6028..4fae53f95 100644 --- a/orangecontrib/spectroscopy/widgets/owsnr.py +++ b/orangecontrib/spectroscopy/widgets/owsnr.py @@ -31,8 +31,10 @@ class Outputs: 'Standard Deviation': 2} # std settingsHandler = settings.DomainContextHandler() - group_x = settings.ContextSetting(None) - group_y = settings.ContextSetting(None) + group_x = settings.ContextSetting(None, exclude_attributes=True, + exclude_class_vars=True) + group_y = settings.ContextSetting(None, exclude_attributes=True, + exclude_class_vars=True) out_choiced = settings.Setting(0) autocommit = settings.Setting(True) diff --git a/orangecontrib/spectroscopy/widgets/owspectra.py b/orangecontrib/spectroscopy/widgets/owspectra.py index 1db4a7a5a..0aef622a6 100644 --- a/orangecontrib/spectroscopy/widgets/owspectra.py +++ b/orangecontrib/spectroscopy/widgets/owspectra.py @@ -892,7 +892,7 @@ class CurvePlot(QWidget, OWComponent, SelectionGroupMixin): sample_seed = Setting(0, schema_only=True) peak_labels_saved = Setting([], schema_only=True) - feature_color = ContextSetting(None) + feature_color = ContextSetting(None, exclude_attributes=True) color_individual = Setting(False) # color individual curves (in a cycle) if no feature_color invertX = Setting(False) viewtype = Setting(INDIVIDUAL) diff --git a/orangecontrib/spectroscopy/widgets/owspectralseries.py b/orangecontrib/spectroscopy/widgets/owspectralseries.py index 3f05b6a85..ddca47c45 100644 --- a/orangecontrib/spectroscopy/widgets/owspectralseries.py +++ b/orangecontrib/spectroscopy/widgets/owspectralseries.py @@ -33,7 +33,7 @@ class LineScanPlot(QWidget, OWComponent, SelectionGroupMixin, ImageColorSettingMixin, ImageZoomMixin): - attr_x = ContextSetting(None) + attr_x = ContextSetting(None, exclude_attributes=True) gamma = Setting(0) selection_changed = Signal() diff --git a/orangecontrib/spectroscopy/widgets/owstackalign.py b/orangecontrib/spectroscopy/widgets/owstackalign.py index fad8ab873..dadda5acb 100644 --- a/orangecontrib/spectroscopy/widgets/owstackalign.py +++ b/orangecontrib/spectroscopy/widgets/owstackalign.py @@ -141,8 +141,8 @@ class Error(OWWidget.Error): settingsHandler = DomainContextHandler() sobel_filter = settings.Setting(False) - attr_x = ContextSetting(None) - attr_y = ContextSetting(None) + attr_x = ContextSetting(None, exclude_attributes=True) + attr_y = ContextSetting(None, exclude_attributes=True) ref_frame_num = settings.Setting(0) def __init__(self):