Skip to content

Commit

Permalink
Correct property type that may have caused doctest issues
Browse files Browse the repository at this point in the history
Refs #10065
  • Loading branch information
DanNixon committed Sep 24, 2014
1 parent 089b949 commit 45525b3
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -14,8 +14,7 @@ def summary(self):
return 'Creates a calibration workspace from a White-Beam Vanadium run.'

def PyInit(self):
self.declareProperty(FileProperty('InputFiles', '',
action=FileAction.Load),
self.declareProperty(StringArrayProperty(name='InputFiles'),
doc='Comma separated list of input files')

self.declareProperty(WorkspaceProperty('OutputWorkspace', '',
Expand Down Expand Up @@ -121,7 +120,7 @@ def _setup(self):
Gets properties.
"""

self._input_files = self.getPropertyValue('InputFiles').split(',')
self._input_files = self.getProperty('InputFiles').value
self._out_ws = self.getPropertyValue('OutputWorkspace')

self._peak_range = self.getProperty('PeakRange').value
Expand Down

0 comments on commit 45525b3

Please sign in to comment.