Skip to content
Snippets Groups Projects
Commit 50a35f88 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Fix bug with cache and EditInstrumentGeometry

parent 5d37619c
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,8 @@ class AlignAndFocusPowderFromFiles(DataProcessorAlgorithm):
prop = self.getProperty(name)
if not prop.isDefault:
editinstrargs[name] = prop.value
EditInstrumentGeometry(Workspace=wkspname, **editinstrargs)
if editinstrargs:
EditInstrumentGeometry(Workspace=wkspname, **editinstrargs)
else:
self.__processFile(filename, wkspname, self.prog_per_file*float(i))
if cachefile is not None:
......
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