Skip to content
Snippets Groups Projects
Commit 362381c2 authored by Alex Buts's avatar Alex Buts
Browse files

Re #11445 Bug in returning _file_name property

parent fc816f92
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ class ReductionWrapper(object): ...@@ -161,7 +161,7 @@ class ReductionWrapper(object):
or workspace name to validate results against. or workspace name to validate results against.
""" """
if not PropertyManager.save_file_name._file_name is None: if not PropertyManager.save_file_name._file_name is None:
file_name = self.reducer.prop_man._file_name file_name = PropertyManager.save_file_name._file_name
if isinstance(file_name,api.Workspace): if isinstance(file_name,api.Workspace):
return file_name return file_name
else: else:
...@@ -292,7 +292,8 @@ class ReductionWrapper(object): ...@@ -292,7 +292,8 @@ class ReductionWrapper(object):
self.wait_for_file = current_wait_state self.wait_for_file = current_wait_state
self._run_from_web = current_web_state self._run_from_web = current_web_state
if result == 'Success!': if result == 'Success!':
return True,'Reference file and reduced workspace are equivalent' return True,'Reference file and reduced workspace are equal with accuracy {0:<3.2f}'\
.format(TOLL)
else: else:
fname,ext = os.path.splitext(fileName) fname,ext = os.path.splitext(fileName)
filename = fname+'-mismatch.nxs' filename = fname+'-mismatch.nxs'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment