Skip to content
Snippets Groups Projects
Commit 572c6f4f authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Refs #11688 Respect qlimits when stitching

parent 5ca4caf9
No related branches found
No related tags found
No related merge requests found
...@@ -809,6 +809,12 @@ class ReflGui(QtGui.QMainWindow, refl_window.Ui_windowRefl): ...@@ -809,6 +809,12 @@ class ReflGui(QtGui.QMainWindow, refl_window.Ui_windowRefl):
Qmin = min(w1.readX(0)) Qmin = min(w1.readX(0))
Qmax = max(w2.readX(0)) Qmax = max(w2.readX(0))
if len(self.tableMain.item(row, i * 5 + 3).text()) > 0:
Qmin = float(self.tableMain.item(row, i * 5 + 3).text())
if len(self.tableMain.item(row, i * 5 + 4).text()) > 0:
Qmax = float(self.tableMain.item(row, i * 5 + 4).text())
wcomb = combineDataMulti(wksp, outputwksp, overlapLow, overlapHigh, Qmin, Qmax, -dqq, 1, keep=True) wcomb = combineDataMulti(wksp, outputwksp, overlapLow, overlapHigh, Qmin, Qmax, -dqq, 1, keep=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment