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
17cccb7d
Commit
17cccb7d
authored
9 years ago
by
Raquel Alvarez Banos
Browse files
Options
Downloads
Patches
Plain Diff
Re #13898 Replace algorithm proxy by normal algorithm
parent
29021202
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
MantidQt/MantidWidgets/src/MuonSequentialFitDialog.cpp
+12
-17
12 additions, 17 deletions
MantidQt/MantidWidgets/src/MuonSequentialFitDialog.cpp
with
12 additions
and
17 deletions
MantidQt/MantidWidgets/src/MuonSequentialFitDialog.cpp
+
12
−
17
View file @
17cccb7d
...
...
@@ -368,28 +368,23 @@ namespace MantidWidgets
MatrixWorkspace_sptr
ws
;
auto
load
=
boost
::
dynamic_pointer_cast
<
AlgorithmProxy
>
(
AlgorithmManager
::
Instance
().
create
(
"MuonLoad"
)
);
load
->
setChild
(
true
);
load
->
setRethrows
(
true
);
load
->
copyPropertiesFrom
(
*
m_loadAlg
);
try
{
try
{
auto
load
=
AlgorithmManager
::
Instance
().
create
(
"MuonLoad"
);
load
->
initialize
();
load
->
setPropertyValue
(
"Filename"
,
fileIt
->
toStdString
()
);
load
->
setPropertyValue
(
"OutputWorkspace"
,
"__YouDontSeeMeIAmNinja"
);
// Is not used
if
(
m_fitPropBrowser
->
rawData
()
)
// TODO: or vice verca?
load
->
setPropertyValue
(
"RebinParams"
,
""
);
load
->
setChild
(
true
);
load
->
setRethrows
(
true
);
load
->
updatePropertyValues
(
*
m_loadAlg
);
load
->
setPropertyValue
(
"Filename"
,
fileIt
->
toStdString
());
load
->
setPropertyValue
(
"OutputWorkspace"
,
"__YouDontSeeMeIAmNinja"
);
if
(
m_fitPropBrowser
->
rawData
())
// TODO: or vice verca?
load
->
setPropertyValue
(
"RebinParams"
,
""
);
load
->
execute
();
ws
=
load
->
getProperty
(
"OutputWorkspace"
);
}
catch
(...)
{
QMessageBox
::
critical
(
this
,
"Loading failed"
,
}
catch
(...)
{
QMessageBox
::
critical
(
this
,
"Loading failed"
,
"Unable to load one of the files.
\n\n
Check log for details"
);
break
;
}
...
...
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