Added empty lists as default values for all_data and all_plots in Options, so
that subclasses of Options will work with the GUI without modifications.
This commit is contained in:
parent
7b20f44fef
commit
4eaea2fe59
|
@ -243,6 +243,8 @@ class Options(dict):
|
|||
dict.__init__(self, *args, **kw)
|
||||
self['out_plots'] = None
|
||||
self['out_data'] = None
|
||||
self['all_plots'] = []
|
||||
self['all_data'] = []
|
||||
|
||||
def _copy_from_list(self, key_list):
|
||||
"""Returns suboptions (dictionary) from a list of keys.
|
||||
|
|
Reference in New Issue