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
bbac0642
Commit
bbac0642
authored
9 years ago
by
Lamar Moore
Browse files
Options
Downloads
Patches
Plain Diff
Re #14761 LoadNexusLogs now using std::initializer_list
parent
fec68f6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/DataHandling/src/LoadNexusLogs.cpp
+4
-6
4 additions, 6 deletions
Framework/DataHandling/src/LoadNexusLogs.cpp
with
4 additions
and
6 deletions
Framework/DataHandling/src/LoadNexusLogs.cpp
+
4
−
6
View file @
bbac0642
...
...
@@ -83,12 +83,10 @@ void LoadNexusLogs::init() {
new
WorkspaceProperty
<
MatrixWorkspace
>
(
"Workspace"
,
"Anonymous"
,
Direction
::
InOut
),
"The name of the workspace that will be filled with the logs."
);
std
::
vector
<
std
::
string
>
exts
;
exts
.
push_back
(
".nxs"
);
exts
.
push_back
(
".n*"
);
declareProperty
(
new
FileProperty
(
"Filename"
,
""
,
FileProperty
::
Load
,
exts
),
"Path to the .nxs file to load. Can be an EventNeXus or a "
"histogrammed NeXus."
);
declareProperty
(
new
FileProperty
(
"Filename"
,
""
,
FileProperty
::
Load
,
{
".nxs"
,
".n*"
}),
"Path to the .nxs file to load. Can be an EventNeXus or a "
"histogrammed NeXus."
);
declareProperty
(
new
PropertyWithValue
<
bool
>
(
"OverwriteLogs"
,
true
,
Direction
::
Input
),
"If true then existing logs will be overwritten, if false they will "
...
...
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