From 4eaea2fe5947405c3b3c7d105d04aa4803cca96c Mon Sep 17 00:00:00 2001 From: einarr Date: Thu, 28 Jun 2007 21:33:09 +0000 Subject: [PATCH] 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. --- fluents/workflow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fluents/workflow.py b/fluents/workflow.py index c876e57..da5468f 100644 --- a/fluents/workflow.py +++ b/fluents/workflow.py @@ -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.