Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
Refs #10854
  • Loading branch information
DanNixon committed Apr 7, 2015
1 parent 7e88415 commit 18dd62d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -349,8 +349,8 @@ def _load_files(self):

# Crop to the detectors required
CropWorkspace(InputWorkspace=chop_ws_name, OutputWorkspace=chop_ws_name,
StartWorkspaceIndex=self._spectra_range[0] - 1,
EndWorkspaceIndex=self._spectra_range[1] - 1)
StartWorkspaceIndex=int(self._spectra_range[0]) - 1,
EndWorkspaceIndex=int(self._spectra_range[1]) - 1)

logger.information('Loaded workspace names: %s' % (str(self._workspace_names)))
logger.information('Chopped data: %s' % (str(self._chopped_data)))
Expand Down

0 comments on commit 18dd62d

Please sign in to comment.