Skip to content

Commit

Permalink
Re #7452 Fix value in the properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Leal committed Jan 28, 2014
1 parent 48cbf46 commit b0dbd24
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -137,8 +137,8 @@ def _get_binning(self, workspace, wavelength_min, wavelength_max):
log_binning = self.getProperty("LogBinning").value
nbins = self.getProperty("NumberOfBins").value
if workspace.getRun().hasProperty("qmin") and workspace.getRun().hasProperty("qmax"):
qmin = workspace.getRun().getProperty("qmin")
qmax = workspace.getRun().getProperty("qmax")
qmin = workspace.getRun().getProperty("qmin").value
qmax = workspace.getRun().getProperty("qmax").value
else:
sample_detector_distance = workspace.getRun().getProperty("sample_detector_distance").value
nx_pixels = int(workspace.getInstrument().getNumberParameter("number-of-x-pixels")[0])
Expand Down

0 comments on commit b0dbd24

Please sign in to comment.