Switch to JSON Parser for SANS State
Switches to using the JSON library for parsing SANS state objects. This provides numerous advantages: - We do not need to maintain a custom (de)serializer - JSON is a documented standard - We can switch to type hinting in Python 3, currently a significant amount of CPU time is spend reverifying typed params - History becomes less brittle and will work from top level algorithms - Allows new code to be written in a more Pythonic way (e.g. not forced to use class level variables for them to be serialized)
Showing
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSBeamCentreFinder.py 14 additions, 12 deletions...lgorithms/WorkflowAlgorithms/SANS/SANSBeamCentreFinder.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSBeamCentreFinderCore.py 7 additions, 7 deletions...ithms/WorkflowAlgorithms/SANS/SANSBeamCentreFinderCore.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSBeamCentreFinderMassMethod.py 7 additions, 7 deletions...WorkflowAlgorithms/SANS/SANSBeamCentreFinderMassMethod.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSCreateAdjustmentWorkspaces.py 10 additions, 12 deletions...WorkflowAlgorithms/SANS/SANSCreateAdjustmentWorkspaces.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSLoad.py 10 additions, 11 deletions...ce/plugins/algorithms/WorkflowAlgorithms/SANS/SANSLoad.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSReductionCoreBase.py 6 additions, 7 deletions...gorithms/WorkflowAlgorithms/SANS/SANSReductionCoreBase.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSReductionCoreEventSlice.py 3 additions, 3 deletions...ms/WorkflowAlgorithms/SANS/SANSReductionCoreEventSlice.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSSingleReduction.py 1 addition, 1 deletion...algorithms/WorkflowAlgorithms/SANS/SANSSingleReduction.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSSingleReduction2.py 1 addition, 1 deletion...lgorithms/WorkflowAlgorithms/SANS/SANSSingleReduction2.py
- Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSSingleReductionBase.py 7 additions, 7 deletions...rithms/WorkflowAlgorithms/SANS/SANSSingleReductionBase.py
- Testing/SystemTests/tests/analysis/SANSBeamCentreFinderCoreTest.py 3 additions, 2 deletions...ystemTests/tests/analysis/SANSBeamCentreFinderCoreTest.py
- Testing/SystemTests/tests/analysis/SANSLoadTest.py 2 additions, 1 deletionTesting/SystemTests/tests/analysis/SANSLoadTest.py
- Testing/SystemTests/tests/analysis/SANSReductionCoreTest.py 3 additions, 2 deletionsTesting/SystemTests/tests/analysis/SANSReductionCoreTest.py
- Testing/SystemTests/tests/analysis/SANSSingleReductionTest.py 3 additions, 2 deletions...ing/SystemTests/tests/analysis/SANSSingleReductionTest.py
- dev-docs/source/ISISSANSReductionBackend.rst 12 additions, 31 deletionsdev-docs/source/ISISSANSReductionBackend.rst
- docs/source/release/v4.3.0/sans.rst 3 additions, 1 deletiondocs/source/release/v4.3.0/sans.rst
- scripts/Interface/ui/sans_isis/sans_data_processor_window.ui 2 additions, 2 deletionsscripts/Interface/ui/sans_isis/sans_data_processor_window.ui
- scripts/Interface/ui/sans_isis/settings_diagnostic_tab.py 0 additions, 12 deletionsscripts/Interface/ui/sans_isis/settings_diagnostic_tab.py
- scripts/SANS/sans/algorithm_detail/batch_execution.py 3 additions, 2 deletionsscripts/SANS/sans/algorithm_detail/batch_execution.py
- scripts/SANS/sans/algorithm_detail/calculate_sans_transmission.py 3 additions, 3 deletions...SANS/sans/algorithm_detail/calculate_sans_transmission.py
Loading
Please register or sign in to comment