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
6b118829
Unverified
Commit
6b118829
authored
6 years ago
by
Antti Soininen
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #23698 from mantidproject/export_geometry_doc_fixes
Export geometry doc fixes
parents
742e6429
fd0552c8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/PythonInterface/plugins/algorithms/ExportGeometry.py
+2
-2
2 additions, 2 deletions
...work/PythonInterface/plugins/algorithms/ExportGeometry.py
docs/source/algorithms/ExportGeometry-v1.rst
+5
-2
5 additions, 2 deletions
docs/source/algorithms/ExportGeometry-v1.rst
with
7 additions
and
4 deletions
Framework/PythonInterface/plugins/algorithms/ExportGeometry.py
+
2
−
2
View file @
6b118829
...
...
@@ -53,7 +53,7 @@ class ExportGeometry(PythonAlgorithm):
return
"
ExportGeometry
"
def
summary
(
self
):
return
"
Extract
geometry into a variety of file formats
"
return
"
Extract
components from larger in-memory instrument, save as IDF style xml
"
def
PyInit
(
self
):
self
.
declareProperty
(
WorkspaceProperty
(
"
InputWorkspace
"
,
""
,
...
...
@@ -67,7 +67,7 @@ class ExportGeometry(PythonAlgorithm):
doc
=
"
Euler angles convention used when writing angles.
"
)
self
.
declareProperty
(
StringArrayProperty
(
"
Components
"
,
direction
=
Direction
.
Input
),
doc
=
"
Comma separated list of instrument components to export
"
)
doc
=
"
Comma separated list of instrument component
name
s to export
"
)
self
.
declareProperty
(
FileProperty
(
name
=
"
Filename
"
,
defaultValue
=
""
,
action
=
FileAction
.
Save
,
...
...
This diff is collapsed.
Click to expand it.
docs/source/algorithms/ExportGeometry-v1.rst
+
5
−
2
View file @
6b118829
...
...
@@ -11,8 +11,11 @@ Description
-----------
This algorithm is intended to write out portions of an instrument's
geometry. The resulting file is mean to be copied by-hand into a
geometry file. The main use of this is if the instrument geometry is
geometry in the :ref:`Instrument Definition File <InstrumentDefinitionFile>`
xml format. The resulting file is meant to be copied by-hand into a
geometry file, the output is not a useable IDF as written.
The main use of this algorithm is if the instrument geometry is
calibrated in mantid, this algorithm can be used to help get the
information back into the initial instrument definition file.
...
...
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