emfacilities.protocols.summary_provider module

class emfacilities.protocols.summary_provider.SummaryProvider(protocol)[source]

Bases: pyworkflow.gui.tree.TreeProvider

Create the tree elements for a Protocol run


This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)


Return the objects that will be inserted in the Tree