Skip to content

Commit

Permalink
Automatic update of developer site
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-builder committed May 9, 2024
1 parent ed05e03 commit 549ada2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Testing/ReflectometryGUI/ReflectometryGUITests.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,12 @@ <h2><a class="toc-backref" href="#id15" role="doc-backlink">Save tab</a><a class
<li><p>Select a single <code class="docutils literal notranslate"><span class="pre">IvsQ_binned</span></code> workspace from the left list, e.g. <code class="docutils literal notranslate"><span class="pre">IvsQ_binned_13460</span></code>, and click Save. Open the <code class="docutils literal notranslate"><span class="pre">.ort</span></code> file that should have been created in your specified save directory. You should get a header at the top starting with <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">reflectivity</span> <span class="pre">data</span> <span class="pre">file</span></code>. There should be 8 columns of numbers with headings <code class="docutils literal notranslate"><span class="pre">Qz</span></code>, <code class="docutils literal notranslate"><span class="pre">R</span></code>, <code class="docutils literal notranslate"><span class="pre">sR</span></code>, <code class="docutils literal notranslate"><span class="pre">sQz</span></code>, <code class="docutils literal notranslate"><span class="pre">lambda</span></code>, <code class="docutils literal notranslate"><span class="pre">slambda</span></code>, <code class="docutils literal notranslate"><span class="pre">incident</span> <span class="pre">theta</span></code> and <code class="docutils literal notranslate"><span class="pre">sincident</span> <span class="pre">theta</span></code>.</p></li>
<li><p>Untick <code class="docutils literal notranslate"><span class="pre">Additional</span> <span class="pre">columns</span> <span class="pre">(includes</span> <span class="pre">Q</span> <span class="pre">resolution)</span></code> and re-save (the <code class="docutils literal notranslate"><span class="pre">Q</span> <span class="pre">resolution</span></code> checkbox should still be selected from the earlier steps). The file should now contain 4 columns of numbers with headings <code class="docutils literal notranslate"><span class="pre">Qz</span></code>, <code class="docutils literal notranslate"><span class="pre">R</span></code>, <code class="docutils literal notranslate"><span class="pre">sR</span></code> and <code class="docutils literal notranslate"><span class="pre">sQz</span></code>.</p></li>
<li><p>Untick <code class="docutils literal notranslate"><span class="pre">Q</span> <span class="pre">resolution</span></code> and re-save. The file should now contain 3 columns of numbers with headings <code class="docutils literal notranslate"><span class="pre">Qz</span></code>, <code class="docutils literal notranslate"><span class="pre">R</span></code>, <code class="docutils literal notranslate"><span class="pre">sR</span></code>.</p></li>
<li><p>Change the dropdown to <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Nexus</span> <span class="pre">(*.orb)</span></code>. The availability of the settings should be the same as they were for the <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Ascii</span> <span class="pre">(*.ort)</span></code> format. Click Save and check that a file with extension <code class="docutils literal notranslate"><span class="pre">.orb</span></code> is saved out. This should be a Nexus file type, so will not be possible to view in a text editor. Use an HDF5 viewer to check that the contents of the file appear sensible.</p></li>
<li><p>Change the dropdown to <code class="docutils literal notranslate"><span class="pre">3</span> <span class="pre">column</span> <span class="pre">(*.dat)</span></code>. All the settings should be greyed out as they are not applicable. Click Save to create the <code class="docutils literal notranslate"><span class="pre">.dat</span></code> file. You should get 3 columns of numbers separated by tabs (including a leading tab). At the top there is an integer indicating the number of lines in the data.</p></li>
<li><p>Change the dropdown to <code class="docutils literal notranslate"><span class="pre">ANSTO,</span> <span class="pre">MotoFit,</span> <span class="pre">4</span> <span class="pre">Column</span> <span class="pre">(*.txt)</span></code>. The settings remain greyed out. Click Save to create the <code class="docutils literal notranslate"><span class="pre">.txt</span></code> file. You should get 4 columns of numbers separated by tabs (with no leading tab).</p></li>
<li><p>Change the dropdown to <code class="docutils literal notranslate"><span class="pre">ILL</span> <span class="pre">Cosmos</span> <span class="pre">(*.mft)</span></code>. The settings remain greyed out apart from the parameters which should now be enabled. Click Save to create the <code class="docutils literal notranslate"><span class="pre">.mft</span></code> file. You should get 3 columns of numbers padded by spaces (including leading spaces). There should be a header starting <code class="docutils literal notranslate"><span class="pre">MFT</span></code> which includes any parameters you selected, the same as the Custom format.</p></li>
<li><p>In the Automatic Save section, tick the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">as</span> <span class="pre">ASCII</span> <span class="pre">on</span> <span class="pre">completion</span></code> checkbox. This should enable the <code class="docutils literal notranslate"><span class="pre">Include</span> <span class="pre">individual</span> <span class="pre">row</span> <span class="pre">outputs</span> <span class="pre">for</span> <span class="pre">groups</span></code> checkbox. Try changing the selected file format - the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">multiple</span> <span class="pre">datasets</span> <span class="pre">to</span> <span class="pre">a</span> <span class="pre">single</span> <span class="pre">file</span></code> checkbox should be disabled for all file formats apart from <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Ascii</span> <span class="pre">(*.ort)</span></code>.</p></li>
<li><p>With the <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Ascii</span> <span class="pre">(*.ort)</span></code> format selected, untick the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">as</span> <span class="pre">ASCII</span> <span class="pre">on</span> <span class="pre">completion</span></code> checkbox. This should disable the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">multiple</span> <span class="pre">datasets</span> <span class="pre">to</span> <span class="pre">a</span> <span class="pre">single</span> <span class="pre">file</span></code> checkbox, as it is only applicable when auto-save is selected for the ORSO format.</p></li>
<li><p>In the Automatic Save section, tick the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">automatically</span> <span class="pre">on</span> <span class="pre">completion</span></code> checkbox. This should enable the <code class="docutils literal notranslate"><span class="pre">Include</span> <span class="pre">individual</span> <span class="pre">row</span> <span class="pre">outputs</span> <span class="pre">for</span> <span class="pre">groups</span></code> checkbox. Try changing the selected file format - the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">multiple</span> <span class="pre">datasets</span> <span class="pre">to</span> <span class="pre">a</span> <span class="pre">single</span> <span class="pre">file</span></code> checkbox should be disabled for all file formats apart from <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Ascii</span> <span class="pre">(*.ort)</span></code> and <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Nexus</span> <span class="pre">(*.orb)</span></code>.</p></li>
<li><p>With either the <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Ascii</span> <span class="pre">(*.ort)</span></code> or <code class="docutils literal notranslate"><span class="pre">ORSO</span> <span class="pre">Nexus</span> <span class="pre">(*.orb)</span></code> format selected, untick the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">automatically</span> <span class="pre">on</span> <span class="pre">completion</span></code> checkbox. This should disable the <code class="docutils literal notranslate"><span class="pre">Save</span> <span class="pre">multiple</span> <span class="pre">datasets</span> <span class="pre">to</span> <span class="pre">a</span> <span class="pre">single</span> <span class="pre">file</span></code> checkbox, as it is only applicable when auto-save is selected for one of the ORSO formats.</p></li>
<li><p>Try entering a non-existent or invalid save path and then try to Save. You should get an error saying that the path is invalid.</p></li>
</ul>
</section>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 549ada2

Please sign in to comment.