Commit 0f7c1b0f authored by Thomas Vincent's avatar Thomas Vincent

fix regression in shift view "Points" plot

parent 438aa036
......@@ -57,9 +57,9 @@ class IntensityItem(ProjectItem):
return self.path.rsplit('/')[-1]
def getScatterData(self):
entry = self.entry
intensity = self._get_array_data(self.path)
scanPositions = self.xsocsH5.scan_positions(entry)
scanPositions = self.xsocsH5.scan_positions(
self.xsocsH5.entries()[0] if self.entry == 'Total' else self.entry)
return intensity, scanPositions
def getPointValue(self, index):
......
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