Skip to content
Snippets Groups Projects
Commit 0d9da3f1 authored by Tom Titcombe's avatar Tom Titcombe
Browse files

Remove call to move HAB

Refs #23960
parent 036bdb4a
No related merge requests found
...@@ -346,20 +346,13 @@ class SANSLoad(ParallelDataProcessorAlgorithm): ...@@ -346,20 +346,13 @@ class SANSLoad(ParallelDataProcessorAlgorithm):
if beam_coordinates: if beam_coordinates:
move_alg.setProperty("BeamCoordinates", beam_coordinates) move_alg.setProperty("BeamCoordinates", beam_coordinates)
# If component was specified then use it component = self.getProperty("Component").value
# TODO check if system tests pass when both components are moved if not component:
# If they are, remove the commented out lines component = "LAB"
#component = self.getProperty("Component").value
#if beam_coordinates:
#move_alg.setProperty("Component", component)
# Move the HAB
move_alg.setProperty("Component", "HAB")
move_alg.setProperty("Workspace", zeroed_workspace)
move_alg.execute()
# Move the LAB # ZOOM and LARMOR only have LAB, SANS2D and LOQ move both at once.
move_alg.setProperty("Component", "LAB") move_alg.setProperty("Component", component)
move_alg.setProperty("Workspace", zeroed_workspace)
move_alg.execute() move_alg.execute()
def _get_progress_for_file_loading(self, data): def _get_progress_for_file_loading(self, data):
......
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