Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
0f3e4f44
Commit
0f3e4f44
authored
9 years ago
by
WHITFIELDRE email
Browse files
Options
Downloads
Patches
Plain Diff
Disable AlignComponents usage example tests because it fails on RHEL6.
Refs #15394
parent
2e0e77ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/algorithms/AlignComponents-v1.rst
+10
-6
10 additions, 6 deletions
docs/source/algorithms/AlignComponents-v1.rst
with
10 additions
and
6 deletions
docs/source/algorithms/AlignComponents-v1.rst
+
10
−
6
View file @
0f3e4f44
...
...
@@ -60,7 +60,7 @@ Usage
**Example - Align the X and Z position of bank26 in POWGEN:**
..
testcode:: positi
on
..
code-block:: pyth
on
LoadCalFile(InstrumentName="PG3",
CalFilename="PG3_golden.cal",
...
...
@@ -81,14 +81,14 @@ Usage
Output:
..
testoutput:: positi
on
..
code-block:: n
on
e
Start position is [1.54436,0.863271,-1.9297]
Final position is [1.50591,0.863271,-1.92734]
**Example - Align the Y rotation of bank26 and bank46 in POWGEN:**
..
testcode:: rotati
on
..
code-block:: pyth
on
LoadCalFile(InstrumentName="PG3",
CalFilename="PG3_golden.cal",
...
...
@@ -114,7 +114,9 @@ Output:
print "Final bank26 rotation is [{:.3f}.{:.3f},{:.3f}]".format(bank26Rot[0], bank26Rot[1], bank26Rot[2])
print "Final bank46 rotation is [{:.3f}.{:.3f},{:.3f}]".format(bank46Rot[0], bank46Rot[1], bank46Rot[2])
.. testoutput:: rotation
Output:
.. code-block:: none
Start bank26 rotation is [-24.061.0.120,18.016]
Start bank46 rotation is [-41.092.0.061,17.795]
...
...
@@ -123,7 +125,7 @@ Output:
**Example - Align sample position in POWGEN:**
..
testcode:: sample
..
code-block:: python
LoadCalFile(InstrumentName="PG3",
CalFilename="PG3_golden.cal",
...
...
@@ -142,7 +144,9 @@ Output:
FitSamplePosition=True)
print "Final sample position is {:.5f}".format(mtd['ws'].getInstrument().getSample().getPos().getZ())
.. testoutput:: sample
Output:
.. code-block:: none
Start sample position is 0.0
Final sample position is 0.02826
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment