Commit 98959100 authored by payno's avatar payno
Browse files

[process] setConfiguration: filter orange attributes

parent 713193c6
......@@ -112,6 +112,16 @@ class Process(object):
return None
def setConfiguration(self, configuration):
# filter configuration from orange widgets
if "__version__" in configuration:
del configuration["__version__"]
if "savedWidgetGeometry" in configuration:
del configuration["savedWidgetGeometry"]
if "savedWidgetGeometry" in configuration:
del configuration["savedWidgetGeometry"]
if "controlAreaVisible" in configuration:
del configuration["controlAreaVisible"]
self._settings = configuration
def register_process(self, xas_obj, data_keys):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment