Commit 863a7423 authored by Carsten Richter's avatar Carsten Richter

Merge branch 'shift-update' into 'master'

Update shift widget

Closes #7

See merge request !97
parents df67db23 d8577829
Pipeline #6713 passed with stages
in 4 minutes and 42 seconds
......@@ -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):
......
This diff is collapsed.
This diff is collapsed.
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