exopy.measurement.editors.database_access_editor.editor_model module¶
Model driving the database exception editor.
-
class
exopy.measurement.editors.database_access_editor.editor_model.NodeModel[source]¶ Bases:
atom.atom.AtomObject representing the database node state linked to a ComplexTask
-
task¶ Reference to the task this node refers to.
-
entries¶ Database entries available on the node associated with the task.
-
exceptions¶ Database exceptions present on the node.
-
has_exceptions¶ Database entries for which an access exception exists
-
children¶ Children nodes
-
sort_nodes(nodes=None)[source]¶ Sort the nodes according to the task order.
New nodes can be passed to the methods in which case they will replace the existing ones.
-
-
class
exopy.measurement.editors.database_access_editor.editor_model.EditorModel[source]¶ Bases:
atom.atom.AtomModel driving the database access editor.
-
root¶ Reference to the root task of the currently edited task hierarchy.
-
nodes¶ Dictionary storing the nodes for all tasks by path.
-