Skip to content

Commit

Permalink
Re #11349 Trying to identify some oddities observed on OSX and Ubunu
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Mar 13, 2015
1 parent bb66481 commit 1406c7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Code/Mantid/scripts/Inelastic/Direct/PropertyManager.py
Expand Up @@ -538,8 +538,11 @@ def _check_file_properties(self):
if not ok:
file_errors[prop_name]=file

if self.sum_runs :
if self.sum_runs:
missing=[]; found=[]
ok,missing,found=self.find_files_to_sum()
#Presence of Cashe sum ws assumes that you sum files to workspace as they appear
# This mean, that we should not expect all files to be there at the begining
if not ok and not self.cashe_sum_ws:
file_errors['missing_runs_toSum']=str(missing)

Expand Down
8 changes: 5 additions & 3 deletions Code/Mantid/scripts/Inelastic/Direct/RunDescriptor.py
Expand Up @@ -615,13 +615,15 @@ def find_run_files(self,run_list=None):
for run in run_list:
if not run in existing:
raise RuntimeError('run {0} is not in the existing run list'.format(run))

not_found=[]
found = []
inst = RunDescriptor._holder.short_instr_name
not_found,found = self._run_list.find_run_files(inst,run_list)
if len(not_found) == 0:
return (True,[],found)
Ok = True
else:
return (False,not_found,found)
Ok = False
return (Ok,not_found,found)
#--------------------------------------------------------------------------------------------------------------------
def set_action_suffix(self,suffix=None):
"""Method to set part of the workspace name, which indicate some action performed over this workspace
Expand Down

0 comments on commit 1406c7b

Please sign in to comment.