deepfinder.viewers.particle_annotator_tree module

class deepfinder.viewers.particle_annotator_tree.ParticleAnnotatorProvider(tomoList, path, mode)[source]

Bases: tomo.viewers.views_tkinter_tree.TomogramsTreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(inTomo)[source]

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)