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
d09c500a
Commit
d09c500a
authored
9 years ago
by
Matthew D Jones
Browse files
Options
Downloads
Patches
Plain Diff
Re #14178 Updated documentation
parent
66388159
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/Algorithms/src/AddSampleLog.cpp
+2
-2
2 additions, 2 deletions
Framework/Algorithms/src/AddSampleLog.cpp
docs/source/algorithms/AddSampleLog-v1.rst
+6
-1
6 additions, 1 deletion
docs/source/algorithms/AddSampleLog-v1.rst
with
8 additions
and
3 deletions
Framework/Algorithms/src/AddSampleLog.cpp
+
2
−
2
View file @
d09c500a
...
...
@@ -44,8 +44,8 @@ void AddSampleLog::init() {
typeOptions
.
push_back
(
""
);
declareProperty
(
"NumberType"
,
""
,
boost
::
make_shared
<
StringListValidator
>
(
typeOptions
),
"Force LogText to be interpreted as a number of type
\"
int
\"
"
"or
\"
double
\"
."
);
"Force LogText to be interpreted as a number of type
'
int
'
"
"or
'
double
'
."
);
}
void
AddSampleLog
::
exec
()
{
...
...
This diff is collapsed.
Click to expand it.
docs/source/algorithms/AddSampleLog-v1.rst
+
6
−
1
View file @
d09c500a
...
...
@@ -21,6 +21,11 @@ If the LogText contains a numeric value, the created log will be of
integer type if an integer is passed and floating point (double)
otherwise. This applies to both the Number & Number Series options.
The algorithm can be forced to create a log of integer or floating point
type by using the optional NumberType property as 'Int' or 'Double'. For
example, with NumberType='Double' the log for LogText='12' would be
created as a floating point (double) rather than an integer.
To add logs that vary over time (Time Series Logs) use :ref:`algm-AddTimeSeriesLog`.
Usage
...
...
@@ -60,4 +65,4 @@ Output:
.. categories::
.. sourcelink::
\ No newline at end of file
.. sourcelink::
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