pass
# add data sets to the elements:
- if isinstance(element["data"], str):
+ if isinstance(element.get("data", None), str):
data_set = element["data"]
try:
element["data"] = self.configuration["data-sets"][data_set]
element["layout"].pop("layout")
try:
for key, val in (self.configuration["plot-layouts"]
- [layout]):
+ [layout].items()):
element["layout"][key] = val
except KeyError:
raise PresentationError("Layout {0} is not defined in "
self._parse_output()
self._parse_static()
self._parse_elements()
- print(self.tables)
- print(self.files)
- print(self.plots)
logging.debug("Specification: \n{}".
format(pformat(self._specification)))