Commit f47d334e authored by Thomas Vincent's avatar Thomas Vincent

use entry name instead of eta

parent 44c33478
......@@ -51,7 +51,7 @@ from ...model.ModelDef import ModelRoles, ModelColumns
class ShiftRootNode(RootNode):
"""Root node for the ShiftModel"""
ColumnNames = ['Eta', 'Preview']
ColumnNames = ['Scan', 'Preview']
class ShiftModel(Model):
......@@ -64,21 +64,12 @@ class ShiftListNode(Node):
"""Root node for a list of entries"""
def _loadChildren(self):
children = []
iGroup = self.subject.getIntensityGroup()
xsocsH5 = iGroup.xsocsH5
entries = xsocsH5.entries()
for entry in entries:
child = ShiftNode(iGroup.getIntensityItem(entry),
branchName=entry,
nodeName=str(xsocsH5.scan_angle(entry)),
subject=self.subject)
children.append(child)
return children
return [ShiftNode(iGroup.getIntensityItem(entry),
branchName=entry,
nodeName=entry,
subject=self.subject)
for entry in iGroup.xsocsH5.entries()]
class ShiftNode(Node):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment