Fix problems with output property lists
When assigning to a list of outputs when calling the algorithm in python, the outputs must be specified in the order they are declared, even if they are optional outputs like IvsLam. This means that if we want to specify the transmission workspace output we must first specify IvsLam even if debug is false. Some of the algorithms always output IvsLam if the name was given whereas others did not. They now always output it if the name is given. Note that this means you may now get an error if you don't supply enough arguments whereas previously it was ok. It is ok if you just specify the IvsQ output(s) but beyond that we do not know whether the output should be IvsLam or the transmission, so we require all of them, hence the error. This is better than it assigning an unexpected output so I think is ok, and is the only way I can think to do this. Re #27633
Showing
- Framework/Algorithms/CMakeLists.txt 0 additions, 2 deletionsFramework/Algorithms/CMakeLists.txt
- Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne2.h 2 additions, 2 deletions...orithms/inc/MantidAlgorithms/ReflectometryReductionOne2.h
- Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOneAuto3.h 2 additions, 2 deletions...hms/inc/MantidAlgorithms/ReflectometryReductionOneAuto3.h
- Framework/Algorithms/inc/MantidAlgorithms/ReflectometryWorkflowBase2.h 1 addition, 0 deletions...orithms/inc/MantidAlgorithms/ReflectometryWorkflowBase2.h
- Framework/Algorithms/inc/MantidAlgorithms/ReflectometryWorkflowBase3.h 0 additions, 31 deletions...orithms/inc/MantidAlgorithms/ReflectometryWorkflowBase3.h
- Framework/Algorithms/src/ReflectometryReductionOne2.cpp 7 additions, 2 deletionsFramework/Algorithms/src/ReflectometryReductionOne2.cpp
- Framework/Algorithms/src/ReflectometryReductionOneAuto3.cpp 6 additions, 1 deletionFramework/Algorithms/src/ReflectometryReductionOneAuto3.cpp
- Framework/Algorithms/src/ReflectometryWorkflowBase2.cpp 30 additions, 2 deletionsFramework/Algorithms/src/ReflectometryWorkflowBase2.cpp
- Framework/Algorithms/src/ReflectometryWorkflowBase3.cpp 0 additions, 51 deletionsFramework/Algorithms/src/ReflectometryWorkflowBase3.cpp
- Framework/Algorithms/test/ReflectometryReductionOneAuto3Test.h 1 addition, 1 deletion...work/Algorithms/test/ReflectometryReductionOneAuto3Test.h
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py 3 additions, 3 deletions...hms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py
- Testing/SystemTests/tests/analysis/INTERReductionTest.py 8 additions, 2 deletionsTesting/SystemTests/tests/analysis/INTERReductionTest.py
- Testing/SystemTests/tests/analysis/ISISReflectometryAutoreductionTest.py 4 additions, 2 deletions...ests/tests/analysis/ISISReflectometryAutoreductionTest.py
- docs/source/algorithms/ReflectometryReductionOne-v2.rst 11 additions, 11 deletionsdocs/source/algorithms/ReflectometryReductionOne-v2.rst
- docs/source/algorithms/ReflectometryReductionOneAuto-v3.rst 1 addition, 1 deletiondocs/source/algorithms/ReflectometryReductionOneAuto-v3.rst
- qt/widgets/common/test/DataProcessorUI/GenericDataProcessorPresenterTest.h 2 additions, 2 deletions.../test/DataProcessorUI/GenericDataProcessorPresenterTest.h
Loading
Please register or sign in to comment