Skip to content

Commit bca6c73

Browse files
authored
Update SANS Manual Testing Instructions (#38325)
* Update SANS Manual Testing Instructions * amended SANS manual testing instructions
1 parent ee71d5f commit bca6c73

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

dev-docs/source/Testing/SANSGUI/ISISSANSGUITests.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,18 @@ Set up
3333
Automatic Save Selection
3434
########################
3535

36-
#. Select ``File`` or ``Both`` from the ``Save Options``.
37-
#. Switch between ``1D`` and ``2D`` ``Reduction`` modes at the bottom of the screen.
36+
#. Select ``File`` or ``Both`` from the ``Save Options`` at the bottom right of the screen.
37+
#. In the ``Reduction`` section to the left of the ``Save Options``, switch between the ``1D`` and ``2D`` radio buttons..
3838

3939
* When 1D is selected, ``CanSAS (1D)`` and ``NxCanSAS (1D/2D)`` should be checked.
4040
* When 2D is selected, only ``NxCanSAS (1D/2D)`` should be checked.
4141

4242
#. Check ``RKH (1D/2D)``.
43-
#. Change the reduction mode.
43+
#. Change the selected ``Reduction`` radio button.
4444
#. The options should revert to the defaults above (with ``RKH (1D/2D)`` unchecked).
4545
#. Select ``Memory``. The ``CanSAS (1D)``, ``NxCanSAS (1D/2D)``, and ``RKH (1D/2D)`` checkboxes should be disabled.
4646
#. Swap between ``Memory`` and ``File`` with a ``2D`` reduction mode. ``CanSAS (1D)`` should always stay disabled.
47+
#. Set the ``Save Option`` back to ``Memory`` to continue with the rest of the tests.
4748

4849
Runs table editing
4950
##################
@@ -114,6 +115,7 @@ Processing
114115

115116
*1D reduction*
116117

118+
#. Clear all workspaces in your workspaces list if they are not empty.
117119
#. In ``General, Scale, Event Slice, Sample`` sub-tab, ensure the ``Reduction
118120
Mode`` is ``All``.
119121
#. In the ``Runs`` tab, under ``Save Options``, select ``Both``, and tick
@@ -138,10 +140,11 @@ Processing
138140

139141
*2D reduction*
140142

143+
#. Clear all workspaces in your workspaces list if they are not empty.
144+
#. In ``General, Scale, Event Slice, Sample`` sub-tab, ensure the ``Reduction
145+
Mode`` is ``All``.
141146
#. Switch to the 2D ``Reduction Mode``.
142-
#. Tick the ``Plot Results`` box.
143147
#. Click ``Process All``.
144-
#. A plot window will open; initially empty, then with a line.
145148
#. You should get four 2D workspaces instead of the previous 1D workspaces
146149
(they will have 100 spectra instead of 1). Double-click them and check you
147150
can do a colourfill plot.
@@ -150,19 +153,17 @@ Processing
150153
#. Clear the newly created files and workspaces to make future tests easier
151154
#. Change ``Reduction`` back to 1D.
152155
#. Click ``Process All``.
153-
#. A new plot window should open and you should end up with multiple lines plotted.
154-
#. Check the ``Multi-period`` box - six additional columns should appear in the table.
156+
#. When it completes, Check the ``Multi-period`` box - six additional columns should appear in the table.
155157
#. Delete all rows and re-load the batch file.
156158

157159
*Merged reduction*
158160

159161
#. In the ``Settings`` tab, ``General, Scale, Event Slice, Sample`` sub-tab,
160162
set ``Reduction Mode`` to ``Merged``.
161163
#. Return to the ``Runs`` tab.
162-
#. Ensure ``Plot results`` is ticked and that save outputs ``CanSAS (1D)`` and
164+
#. Ensure save outputs ``CanSAS (1D)`` and
163165
``NXcanSAS (1D/2D)`` are ticked.
164166
#. Click ``Process All``.
165-
#. This should result in a plot with six lines.
166167
#. The workspaces list should now contain a group named
167168
``LAB_and_HAB_workspaces_from_merged_reduction`` that contains the ``main``
168169
and ``HAB`` workspaces, which were previously ungrouped for a non-merged
@@ -176,7 +177,8 @@ Processing
176177
*Scaled Background Subtracted Reduction*
177178

178179
#. Create a new copy of the User File in your file browser.
179-
#. In this new copy, change the the ``Reduction Mode`` to ``Merged`` using a text editor.
180+
#. Open this new copy in a text editor and find the ``[detector.configuration]`` section.
181+
#. Under this section, make sure setting ``selected_detector`` is set to ``Merged``.
180182
#. Back in the ISIS SANS interface, change the user file to this new file.
181183
#. Click over to the ``Runs`` tab.
182184
#. Set the ``Save Options`` to ``Memory``.
@@ -187,7 +189,7 @@ Processing
187189
#. Check the ``Scaled Background Subtraction`` checkbox.
188190
#. In the ``BackgroundWorkspace`` column, enter the name of the merged workspace you took note of before.
189191
#. In the ``ScaleFactor`` column, enter ``0.9``.
190-
#. Ensure that save outputs ``CanSAS (1D)`` and ``NXcanSAS (1D/2D)`` are ticked.
192+
#. Set the ``Save Options`` to ``Both`` and ensure that save outputs ``CanSAS (1D)`` and ``NXcanSAS (1D/2D)`` are ticked.
191193
#. Select this new row and click ``Process Selected``.
192194
#. When it completes, two output files should have been created with ``bgsub_test`` in the name. One, which is the
193195
normal output data. Another with the scaled subtraction, which should have ``_bgsub`` appended to the name.
@@ -261,8 +263,7 @@ Display
261263

262264
#. In the ``Runs`` tab, check that all table, process, and load buttons have
263265
clear tooltips by hovering over them.
264-
#. Check that ``Zero Error Free``, ``Use Optimizations``, and ``Plot Results``
265-
have clear tooltips.
266+
#. Check that ``Zero Error Free`` and ``Use Optimizations`` have clear tooltips.
266267
#. In the settings, hover over a random selection of buttons and text boxes to check tooltips are still there.
267268
Users rely on the tooltips a lot and really do notice each missing one.
268269
*Note: The* ``Wavelength`` *section of the settings is missing its tooltips. We and the users are aware of this so an

0 commit comments

Comments
 (0)