Skip to content

Commit

Permalink
Fixed interaction of 4th columns buttons when loading config file. Th…
Browse files Browse the repository at this point in the history
…is refs #4303
  • Loading branch information
JeanBilheux committed May 23, 2012
1 parent 3ccf9b8 commit 358a1eb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,6 @@ def from_xml_element(self, instrument_dom):
self.fourth_column_dq0 = BaseScriptElement.getFloatElement(instrument_dom, "fourth_column_dq0")
self.fourth_column_dq_over_q = BaseScriptElement.getFloatElement(instrument_dom, "fourth_column_dq_over_q")

print 'self.fourth_column_flag:'
print self.fourth_column_flag
print

def reset(self):
"""
Reset state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -831,5 +831,4 @@ def set_editing_state(self, state):

#4th column (precision)
self._summary.fourth_column_switch.setChecked(state.fourth_column_flag)
self._summary.dq0.setText(str(state.fourth_column_dq0))
self._summary.dq_over_q.setText(str(state.fourth_column_dq_over_q))
self._fourth_column_clicked(state.fourth_column_flag)
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,6 @@ def convertWorkspaceToQ(ws_data,
returns the new workspace handle
"""

print 'q_binning:'
print q_binning


mt1 = mtd[ws_data]
_tof_axis = mt1.readX(0)[:]
_fromYpixel = min([fromYpixel, toYpixel])
Expand Down

0 comments on commit 358a1eb

Please sign in to comment.